From 4f8b43bdb964f9f8a6d1c2714f920095dbe61a53 Mon Sep 17 00:00:00 2001 From: xjboss Date: Tue, 12 Mar 2019 13:48:18 +0000 Subject: [PATCH] fix --- src/main/java/pw/yumc/YumCore/bukkit/compatible/C.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/pw/yumc/YumCore/bukkit/compatible/C.java b/src/main/java/pw/yumc/YumCore/bukkit/compatible/C.java index fc3ccd2..59ac357 100644 --- a/src/main/java/pw/yumc/YumCore/bukkit/compatible/C.java +++ b/src/main/java/pw/yumc/YumCore/bukkit/compatible/C.java @@ -54,9 +54,10 @@ public class C { static { version=getNMSVersion(); titlePAB=false; - try { - cauldron1710 =version.equals("v1_7_R4")&&Package.getPackage("net.minecraftforge.cauldron1710")!=null; + try { + cauldron1710 = version.equals("v1_7_R4") && Package.getPackage("net.minecraftforge.cauldron") != null; + }catch (Exception e){} if(cauldron1710) { try{ Class.forName("cc.uraniummc.Uranium");