Merge pull request #2543 from hea3ven/6.4.x

fix planters not working with zone planner areas
This commit is contained in:
Adrian Siekierka 2015-03-09 06:52:30 +01:00
commit c0dee8dd29

View file

@ -103,8 +103,9 @@ public class ZoneChunk implements ISerializable {
z = bitPosition / 16;
x = bitPosition - 16 * z;
}
int y = rand.nextInt(255);
return new BlockIndex(x, 0, z);
return new BlockIndex(x, y, z);
}
public boolean isEmpty() {