Don't crash when logging out with network tool on transparent mode.
This commit is contained in:
parent
689a9bb8ae
commit
59a0c3f11a
1 changed files with 3 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue