The Meaning of Life, the Universe, and Everything.
Join Date:
10/2/2011
Posts:
42
Member Details
It is really annoying me! Here is the error report.
[03:53] java.lang.NullPointerException
[03:53] at net.minecraft.src.RenderGlobal.playAuxSFX(RenderGlobal.java:1606)
[03:53] at net.minecraft.src.World.playAuxSFXAtEntity(World.java:3143)
[03:53] at net.minecraft.src.World.playAuxSFX(World.java:3136)
[03:53] at net.minecraft.src.PlayerController.sendBlockRemoved(PlayerController.
java:37)
[03:53] at net.minecraft.src.PlayerControllerTest.func_35644_a(PlayerControllerT
est.java:54)
[03:53] at net.minecraft.src.PlayerControllerTest.clickBlock(PlayerControllerTes
t.java:80)
[03:53] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:823)
[03:53] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1117)
[03:53] at net.minecraft.client.Minecraft.run(Minecraft.java:483)
It is only caused when I click on the specific web block... it is a pretty simple NullPointerException but I am stumped!
The Meaning of Life, the Universe, and Everything.
Join Date:
10/2/2011
Posts:
42
Member Details
Found the fix! Silly notch initialized the web block when he referenced it for no other reason than he wanted to and all you have to do is just take away the initialization and add it in the static section below all the variables in Block.java! Thanks for those who checked this out! *Nevermind! BUG IN MCP CODE, UPDATED!*
[03:53] java.lang.NullPointerException
[03:53] at net.minecraft.src.RenderGlobal.playAuxSFX(RenderGlobal.java:1606)
[03:53] at net.minecraft.src.World.playAuxSFXAtEntity(World.java:3143)
[03:53] at net.minecraft.src.World.playAuxSFX(World.java:3136)
[03:53] at net.minecraft.src.PlayerController.sendBlockRemoved(PlayerController.
java:37)
[03:53] at net.minecraft.src.PlayerControllerTest.func_35644_a(PlayerControllerT
est.java:54)
[03:53] at net.minecraft.src.PlayerControllerTest.clickBlock(PlayerControllerTes
t.java:80)
[03:53] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:823)
[03:53] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1117)
[03:53] at net.minecraft.client.Minecraft.run(Minecraft.java:483)
It is only caused when I click on the specific web block... it is a pretty simple NullPointerException but I am stumped!