mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-22 12:59:51 +00:00
fix saving WCT crafting matrix
closes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9293
This commit is contained in:
1 parent
f0978c8e00
commit
b8ecbbb567
2 files changed
+6
-8
No files matched your search
+3
@@ -163,6 +163,9 @@ public class WCTInventoryCrafting extends AppEngInternalInventory {
|
||||
if (this.getTileEntity() != null && this.eventsEnabled()) {
|
||||
this.getTileEntity().onChangeInventory(this, slotIndex, InvOperation.markDirty, null, null);
|
||||
}
|
||||
if (getStackInSlot(slotIndex) != null && getStackInSlot(slotIndex).stackSize == 0)
|
||||
stackList[slotIndex] = null;
|
||||
writeNBT(invItem.getTagCompound());
|
||||
}
|
||||
|
||||
public void markDirty() {
|
||||
|
||||
Reference in new issue
Block a user