diff --git a/src/main/java/com/voxelmodpack/hdskins/HDSkinManager.java b/src/main/java/com/voxelmodpack/hdskins/HDSkinManager.java index 66145212..3b7fec6a 100644 --- a/src/main/java/com/voxelmodpack/hdskins/HDSkinManager.java +++ b/src/main/java/com/voxelmodpack/hdskins/HDSkinManager.java @@ -78,6 +78,9 @@ public final class HDSkinManager { private static String resolvePlayerIdFromHash(String hash) { Minecraft mc = Minecraft.getMinecraft(); + if (mc.theWorld == null) { + return null; + } Collection playersInfo = mc.getNetHandler().func_175106_d(); String uuid; // players