Prevent lag caused by ItemContainer.onUpdate. EntityPlayer.openContainer is never null.