1
0
mirror of https://github.com/chylex/Java-Checker.git synced 2025-08-30 00:53:09 +02:00

Fix client side checking

This commit is contained in:
2016-01-10 21:32:18 +01:00
parent 87b0690aef
commit 4d8c314a0c

@@ -49,7 +49,7 @@ public final class ForgeCompatibility{
public static boolean isClientSide(){ public static boolean isClientSide(){
try{ try{
return Class.forName("net.minecraft.client.Minecraft") != null; return Class.forName("net.minecraft.client.main.Main") != null;
}catch(ClassNotFoundException e){ }catch(ClassNotFoundException e){
return false; return false;
}catch(Throwable t){ }catch(Throwable t){