mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Set the cached coordinates on SubTile NBT read to null if TAG_POOL_Y is -1.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user