mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Fix leaky pipes (water flow). Fixes BUKKIT-3085
(Also, fix mistranslation for VehicleBlockCollisionEvent)
This commit is contained in:
@@ -638,9 +638,9 @@ public abstract class Entity {
|
||||
} else if (d6 < d0) {
|
||||
block = block.getRelative(BlockFace.WEST);
|
||||
} else if (d8 > d2) {
|
||||
block = block.getRelative(BlockFace.NORTH);
|
||||
} else if (d8 < d2) {
|
||||
block = block.getRelative(BlockFace.SOUTH);
|
||||
} else if (d8 < d2) {
|
||||
block = block.getRelative(BlockFace.NORTH);
|
||||
}
|
||||
|
||||
VehicleBlockCollisionEvent event = new VehicleBlockCollisionEvent(vehicle, block);
|
||||
|
Reference in New Issue
Block a user