Commits
md_5 authored 9b5a5250520
84 84 | + |
85 85 | + if (lastLocation != null && !lastLocation.equals(to)) { |
86 86 | + VehicleMoveEvent event = new VehicleMoveEvent(vehicle, lastLocation, to); |
87 87 | + server.getPluginManager().callEvent(event); |
88 88 | + } |
89 89 | + lastLocation = vehicle.getLocation(); |
90 90 | + // CraftBukkit end |
91 91 | this.applyEffectsFromBlocks(); |
92 92 | this.applyEffectsFromBlocks(); |
93 93 | this.tickBubbleColumn(); |
94 - | |
94 + | |
95 + | } else if (f < 1.0F) { |
96 + | return (float) blockposition_mutableblockposition.getY() + f; |
97 + | } |
98 + | + break; // CraftBukkit - decompile error |
99 + | } |
100 + | } |
101 + | |
102 + | |
95 103 | |
96 104 | @Override |
97 105 | public void remove(Entity.RemovalReason entity_removalreason) { |
98 106 | + // CraftBukkit start - add Bukkit remove cause |
99 107 | + this.remove(entity_removalreason, null); |
100 108 | + } |
101 109 | + |
102 110 | + @Override |
103 111 | + public void remove(Entity.RemovalReason entity_removalreason, EntityRemoveEvent.Cause cause) { |
104 112 | + // CraftBukkit end |