Yeah, that last commit didn't work.
This commit is contained in:
parent
788b325312
commit
35f73a7fff
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
package assemblyline.common.block;
|
package assemblyline.common.block;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.FMLCommonHandler;
|
||||||
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
@ -146,7 +148,7 @@ public class TileEntityCrate extends TileEntityImprintable implements ISidedInve
|
||||||
this.containingItems[slot] = null;
|
this.containingItems[slot] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.worldObj.isRemote)
|
if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER)
|
||||||
{
|
{
|
||||||
PacketManager.sendPacketToClients(this.getDescriptionPacket(), this.worldObj);
|
PacketManager.sendPacketToClients(this.getDescriptionPacket(), this.worldObj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue