mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
The Red String Container now passes markDirty(). Fixes SlimeKnights/TinkersConstruct/#1352 (it's actually on my side, but I'll refer to it)
This commit is contained in:
1 parent
b901f1a9d1
commit
b09034c667
1 file changed
+8
@@ -119,4 +119,12 @@ public class TileRedStringContainer extends TileRedString implements ISidedInven
|
||||
return tile instanceof ISidedInventory ? ((ISidedInventory) tile).canExtractItem(slot, stack, side) : true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markDirty() {
|
||||
super.markDirty();
|
||||
TileEntity tile = getTileAtBinding();
|
||||
if(tile != null)
|
||||
tile.markDirty();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user