From 5f20de34a945cc18ef155db0fb0622cd8af4e3c3 Mon Sep 17 00:00:00 2001 From: Tanel Suurhans Date: Fri, 25 Feb 2011 19:47:12 +0200 Subject: [PATCH] - fix VEHICLE_COLLISION_BLOCK event firing --- src/main/java/net/minecraft/server/Entity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java index 4e228e8274..303fa6c555 100644 --- a/src/main/java/net/minecraft/server/Entity.java +++ b/src/main/java/net/minecraft/server/Entity.java @@ -477,7 +477,7 @@ public abstract class Entity { int j1; // CraftBukkit start - if ((this.bg) && (getBukkitEntity() instanceof Vehicle)) { + if ((this.aV) && (getBukkitEntity() instanceof Vehicle)) { Vehicle vehicle = (Vehicle) getBukkitEntity(); org.bukkit.World wrld = ((WorldServer) world).getWorld(); org.bukkit.block.Block block = wrld.getBlockAt(MathHelper.b(locX), MathHelper.b(locY - 0.20000000298023224D - (double) this.height), MathHelper.b(locZ));