Fixed compilation issues (+small import cleanup in CraftWorld)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -22,7 +22,7 @@ public class CraftBlock implements Block {
|
||||
protected byte data;
|
||||
protected byte light;
|
||||
|
||||
protected CraftBlock(final CraftWorld world, final int x, final int y, final int z, final int type, final byte data) {
|
||||
public CraftBlock(final CraftWorld world, final int x, final int y, final int z, final int type, final byte data) {
|
||||
this.world = world;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
@@ -305,4 +305,9 @@ public class CraftBlock implements Block {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public void update() {
|
||||
type = world.getHandle().a(x, y, z);
|
||||
data = (byte)world.getHandle().b(x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user