diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-09-29 14:36:56 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-09-29 14:36:56 +1000 |
commit | bc69aeb6203d3c9d667fe49807d8429df04aa7c9 (patch) | |
tree | d348dd1b4fdd69d46ca07aef4c3bddead62a93fd /src/Java/gtPlusPlus/core/gui | |
parent | 19749c79884682301e292b52d0ddb15e6d35a580 (diff) | |
download | GT5-Unofficial-bc69aeb6203d3c9d667fe49807d8429df04aa7c9.tar.gz GT5-Unofficial-bc69aeb6203d3c9d667fe49807d8429df04aa7c9.tar.bz2 GT5-Unofficial-bc69aeb6203d3c9d667fe49807d8429df04aa7c9.zip |
$ Fixed Fluorite ore not spawning properly from limestone.
Diffstat (limited to 'src/Java/gtPlusPlus/core/gui')
-rw-r--r-- | src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java b/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java index 93444a7a23..ea4d4ff2b8 100644 --- a/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java +++ b/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java @@ -17,7 +17,7 @@ import net.minecraft.util.ResourceLocation; public class GUI_TradeTable extends GuiContainer { TileEntityTradeTable mThisTable; - final String mOwnerName; + String mOwnerName; private static final ResourceLocation craftingTableGuiTextures = new ResourceLocation(CORE.MODID, "textures/gui/ProjectTable.png"); @@ -30,15 +30,17 @@ public class GUI_TradeTable extends GuiContainer { Utils.LOG_INFO("Set invalid TE in GUI"); } else { + if (te.isServerSide()){ mThisTable = te; this.mOwnerName = mOwnerName; - Utils.LOG_INFO("Set valid TE in GUI"); + Utils.LOG_INFO("Set valid TE in GUI"); + } } } @Override protected void drawGuiContainerForegroundLayer(final int i, final int j){ - this.fontRendererObj.drawString(I18n.format("Owner: "+this.mOwnerName, new Object[0]), 28, 6, 4210752); + this.fontRendererObj.drawString(I18n.format("Owner - "+this.mOwnerName, new Object[0]), 28, 66, 4210752); //this.fontRendererObj.drawString(I18n.format("container.inventory", new Object[0]), 8, this.ySize - 96 + 2, 4210752); } |