From 59a0c3f11aa79116f8fe20a0acbad185fe7454f9 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 <AlgorithmX2@gmail.com> Date: Sat, 30 Aug 2014 16:36:38 -0500 Subject: [PATCH] Don't crash when logging out with network tool on transparent mode. --- client/ClientHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/ClientHelper.java b/client/ClientHelper.java index 2c3b5554..85b3db34 100644 --- a/client/ClientHelper.java +++ b/client/ClientHelper.java @@ -90,6 +90,9 @@ public class ClientHelper extends ServerHelper public void triggerUpdates() { Minecraft mc = Minecraft.getMinecraft(); + if ( mc == null || mc.thePlayer == null || mc.theWorld == null ) + return; + EntityPlayer player = mc.thePlayer; if ( player == null )