mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 22:14:42 +00:00
Fix corner case where collidables are not cleared after last removal
This commit is contained in:
1 parent
f3af999ef2
commit
23464f49c1
1 file changed
+2
-1
@@ -81,7 +81,7 @@ public class TileConduitBundle extends TileEntityEio implements IConduitBundle {
|
||||
public void dirty() {
|
||||
conduitsDirty = true;
|
||||
collidablesDirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRenderInPass(int arg0) {
|
||||
@@ -115,6 +115,7 @@ public class TileConduitBundle extends TileEntityEio implements IConduitBundle {
|
||||
short nbtVersion = nbtRoot.getShort("nbtVersion");
|
||||
|
||||
conduits.clear();
|
||||
cachedCollidables.clear();
|
||||
NBTTagList conduitTags = (NBTTagList) nbtRoot.getTag("conduits");
|
||||
if(conduitTags != null) {
|
||||
for (int i = 0; i < conduitTags.tagCount(); i++) {
|
||||
|
||||
Reference in new issue
Block a user