@Override public void readFromNBT(NBTTagCompound tag) { super.readFromNBT(tag); setDead(); worldObj.spawnEntityInWorld( new EntityItem(worldObj, posX, posY, posZ, new ItemStack(ModuleVanilla.coin))); }
@Override public void onUpdate() { if (!worldObj.isRemote || isSync) syncer.update(); // System.out.println(initHt + " " + player + " " + worldObj.isRemote); super.onUpdate(); }