Archiviert
13
0

- fix VEHICLE_COLLISION_BLOCK event firing

Dieser Commit ist enthalten in:
Tanel Suurhans 2011-02-25 19:47:12 +02:00 committet von Dinnerbone
Ursprung df2c0e2308
Commit 5f20de34a9

Datei anzeigen

@ -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));