Fixed an issue where the block cache became out of date and events were giving erroneous block information.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2011-01-15 21:10:24 -08:00
parent 5048539bfa
commit 31192b03fe
2 changed files with 3 additions and 0 deletions

View File

@@ -319,5 +319,6 @@ public class CraftBlock implements Block {
public void update() {
type = world.getHandle().a(x, y, z);
data = (byte)world.getHandle().b(x, y, z);
light = (byte)world.getHandle().j(x, y, z);
}
}