Minecraft.getMinecraft().thePlayer == null always, so I removed it