Set the cached coordinates on SubTile NBT read to null if TAG_POOL_Y is -1.

This commit is contained in:
Lizbeth Rika committed 2015-06-19 21:42:19 +01:00
1 parent 093c6a7d08
commit f6ad7a79e2
2 files changed
+2 -4

No files matched your search

@@ -155,7 +155,7 @@ public class SubTileFunctional extends SubTileEntity {
int y = cmp.getInteger(TAG_POOL_Y);
int z = cmp.getInteger(TAG_POOL_Z);
cachedPoolCoordinates = new ChunkCoordinates(x, y, z);
cachedPoolCoordinates = y < 0 ? null : new ChunkCoordinates(x, y, z);
}
@Override