mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-26 11:32:58 +00:00
Fix 1.8
This commit is contained in:
1 parent
2f141bd565
commit
0d60fb328a
1 file changed
+1
-1
@@ -76,7 +76,7 @@ public class MinecraftUtil {
|
||||
net.minecraft.client.multiplayer.ServerData data=net.minecraft.client.Minecraft.getMinecraft().getCurrentServerData();
|
||||
if(data==null)//Single Player
|
||||
return true;
|
||||
return data.isOnLAN();
|
||||
return data.serverIP==null;
|
||||
}
|
||||
|
||||
private final static Pattern MINECRAFT_CORE_FILE_PATTERN = Pattern.compile("^(.*?)/versions/([^\\/\\\\]*?)/([^\\/\\\\]*?).jar$");
|
||||
|
||||
Reference in new issue
Block a user