Keep Blocks updated when changed by the world

This commit is contained in:
Dinnerbone
2010-12-28 23:52:29 +00:00
parent ef622b20d1
commit 804b5e7d2b
3 changed files with 135 additions and 2 deletions

View File

@@ -9,8 +9,8 @@ public class CraftBlock implements Block {
private final int x;
private final int y;
private final int z;
private int type;
private byte data;
protected int type;
protected byte data;
protected CraftBlock(final World world, final int x, final int y, final int z, final int type, final byte data) {
this.world = world;