From 6046c24e2d2329613559d8b645da4382407436ff Mon Sep 17 00:00:00 2001 From: Progwml6 Date: Sat, 8 Mar 2014 20:01:59 -0500 Subject: [PATCH] send the description packet from the server as this is a server sided method --- src/main/java/tconstruct/blocks/logic/SmelteryLogic.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/tconstruct/blocks/logic/SmelteryLogic.java b/src/main/java/tconstruct/blocks/logic/SmelteryLogic.java index 381ca78f3de..7f3bf88eafc 100644 --- a/src/main/java/tconstruct/blocks/logic/SmelteryLogic.java +++ b/src/main/java/tconstruct/blocks/logic/SmelteryLogic.java @@ -43,8 +43,6 @@ import tconstruct.library.crafting.Smeltery; import tconstruct.util.SmelteryDamageSource; import tconstruct.util.config.PHConstruct; -import cpw.mods.fml.common.FMLCommonHandler; -import cpw.mods.fml.relauncher.Side; /* Simple class for storing items in the block */ @@ -421,8 +419,8 @@ private void handleItemEntity (EntityItem item) if (itemAdded) { this.needsUpdate = true; - if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) - FMLCommonHandler.instance().getClientToServerNetworkManager().scheduleOutboundPacket(getDescriptionPacket()); + //TODO 1.7.5 send description packet in better way to not cause render update + this.worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord); } }