if (!world.isRemote && entity instanceof EntityPlayerMP)
{
EntityPlayerMP player = (EntityPlayerMP) entity;
player.addChatMessage(new ChatComponentText(EnumColor.RED + GCCoreUtil.translate("gui.warning.noroom")));
ItemStack itemstack = new ItemStack(this, 1, 0);
EntityItem entityitem = player.dropPlayerItemWithRandomChoice(itemstack, false);
entityitem.delayBeforeCanPickup = 0;
entityitem.func_145797_a(player.getCommandSenderName());
}
return;