From 19749c79884682301e292b52d0ddb15e6d35a580 Mon Sep 17 00:00:00 2001 From: Alkalus Date: Thu, 28 Sep 2017 12:52:31 +1000 Subject: + Added Base Tile Entity Class. % Changed Trade Table to inherit from the base class. + Added functionality to the base TE to store the owners name and UUID. + Added Base NBT Block Class. $ Fixed ItemBlockNBT handling of NBT. --- src/Java/gtPlusPlus/core/container/Container_TradeTable.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Java/gtPlusPlus/core/container') diff --git a/src/Java/gtPlusPlus/core/container/Container_TradeTable.java b/src/Java/gtPlusPlus/core/container/Container_TradeTable.java index 3e89c1ddaf..e79a51f242 100644 --- a/src/Java/gtPlusPlus/core/container/Container_TradeTable.java +++ b/src/Java/gtPlusPlus/core/container/Container_TradeTable.java @@ -28,10 +28,14 @@ public class Container_TradeTable extends Container { public Container_TradeTable(final InventoryPlayer inventory, final TileEntityTradeTable te){ + this.tile_entity = te; this.inventoryChest = te.inventoryGrid; this.inventoryOutputs = te.inventoryOutputs; this.tile_entity.setContainer(this); + + if (te.isServerSide()) + Utils.LOG_INFO("Container - "+te.mOwnerName); int var6; int var7; -- cgit