mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Add a necessary null check
This commit is contained in:
1 parent
9d38fb057a
commit
87e2fc49fd
1 file changed
+1
-1
@@ -143,7 +143,7 @@ public class ClientTickHandler
|
||||
shouldReset = false;
|
||||
}
|
||||
|
||||
if(mc.world != null && !Mekanism.proxy.isPaused())
|
||||
if(mc.world != null && mc.player != null && !Mekanism.proxy.isPaused())
|
||||
{
|
||||
if((!initHoliday || MekanismClient.ticksPassed % 1200 == 0) && mc.player != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user