Fix a rare crash rendering the debug screen

This commit is contained in:
Vincent Lee committed 2016-02-17 16:52:07 -06:00
1 parent 78c65fb065
commit 769ed577c4
1 file changed
+1 -1
@@ -47,7 +47,7 @@ public final class DebugHandler {
event.left.add(PREFIX + "pS: " + ParticleRenderDispatcher.sparkleFxCount + ", pFS: " + ParticleRenderDispatcher.fakeSparkleFxCount + ", pW: " + ParticleRenderDispatcher.wispFxCount + ", pDIW: " + ParticleRenderDispatcher.depthIgnoringWispFxCount + ", pLB: " + ParticleRenderDispatcher.lightningCount);
event.left.add(PREFIX + "(CLIENT) netColl: " + ManaNetworkHandler.instance.getAllCollectorsInWorld(world).size() + ", netPool: " + ManaNetworkHandler.instance.getAllPoolsInWorld(world).size() + ", rv: " + version);
if (Minecraft.getMinecraft().isIntegratedServerRunning()) {
if (Minecraft.getMinecraft().isSingleplayer()) {
UUID id = Minecraft.getMinecraft().thePlayer.getUniqueID();
Entity ent = Minecraft.getMinecraft().getIntegratedServer().getEntityFromUuid(id);
if (ent != null) {