mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 06:52:58 +00:00
Fix spreaders and pools not getting removed from the tile list since the map change.
This commit is contained in:
1 parent
57fe64ca11
commit
2bd1294fe7
1 file changed
+3
-3
@@ -80,12 +80,12 @@ public final class ManaNetworkHandler implements IManaNetwork {
|
||||
}
|
||||
|
||||
private synchronized void remove(Map<World, List<TileEntity>> map, TileEntity tile) {
|
||||
int dim = tile.getWorldObj().provider.dimensionId;
|
||||
World world = tile.getWorldObj();
|
||||
|
||||
if(!map.containsKey(dim))
|
||||
if(!map.containsKey(world))
|
||||
return;
|
||||
|
||||
List<TileEntity> tiles = map.get(dim);
|
||||
List<TileEntity> tiles = map.get(world);
|
||||
tiles.remove(tile);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user