mirror of
https://github.com/chylex/Java-Checker.git
synced 2025-06-10 10:34:03 +02:00
Fix client side checking
This commit is contained in:
parent
87b0690aef
commit
4d8c314a0c
@ -49,7 +49,7 @@ public final class ForgeCompatibility{
|
||||
|
||||
public static boolean isClientSide(){
|
||||
try{
|
||||
return Class.forName("net.minecraft.client.Minecraft") != null;
|
||||
return Class.forName("net.minecraft.client.main.Main") != null;
|
||||
}catch(ClassNotFoundException e){
|
||||
return false;
|
||||
}catch(Throwable t){
|
||||
|
Loading…
Reference in New Issue
Block a user