MCP - Getting player coordinates and showing on screen.
I always get a NullPointerException trying to do this no matter what way.
I am using the latest version of MCP (9.18 I believe)
Code: (Example of the many diffrent ways I have tried)
Code:
drawString(Minecraft.getMinecraft().fontRendererObj, " - X: " + String.valueOf(Math****und(mc.thePlayer.posX)), 4, 24, 0xffffffff);
The client starts up, and can start loading a world but crashes when the world is almost loaded.
Please help thanks

OP hasn't replied in 2 days. Assuming solved