fixes for EntityPlayerMP and Entity