Tile Saving
This commit is contained in:
@@ -78,6 +78,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
|
||||
te.onChangeInventory( this, slot, InvOperation.decrStackSize, ns, null );
|
||||
}
|
||||
|
||||
onInventoryChanged();
|
||||
return ns;
|
||||
}
|
||||
|
||||
@@ -122,6 +123,8 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
|
||||
}
|
||||
|
||||
te.onChangeInventory( this, slot, InvOperation.setInventorySlotContents, removed, added );
|
||||
|
||||
onInventoryChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ import net.minecraft.item.ItemStack;
|
||||
public interface IAEAppEngInventory
|
||||
{
|
||||
|
||||
void saveChanges();
|
||||
|
||||
void onChangeInventory(IInventory inv, int slot, InvOperation mc, ItemStack removedStack, ItemStack newStack);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user