From beddbf61cbff2e6db988b7b5c66b003241ba9cde Mon Sep 17 00:00:00 2001 From: Roman / Nea Date: Wed, 11 May 2022 12:39:52 +0200 Subject: highly complex code changes (skytils->gg.skytils) (#135) --- .../io/github/moulberry/notenoughupdates/util/SkytilsCompat.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/SkytilsCompat.java b/src/main/java/io/github/moulberry/notenoughupdates/util/SkytilsCompat.java index 193f6133..5bc5d13c 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/SkytilsCompat.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/SkytilsCompat.java @@ -28,19 +28,19 @@ public class SkytilsCompat { static { try { - skytilsClass = Class.forName("skytils.skytilsmod.Skytils"); + skytilsClass = Class.forName("gg.skytils.skytilsmod.Skytils"); isSkytilsPresent = true; } catch (ClassNotFoundException ignored) { } try { - Class skytilsCompanionClass = Class.forName("skytils.skytilsmod.Skytils$Companion"); - skytilsConfigClass = Class.forName("skytils.skytilsmod.core.Config"); + Class skytilsCompanionClass = Class.forName("gg.skytils.skytilsmod.Skytils$Companion"); + skytilsConfigClass = Class.forName("gg.skytils.skytilsmod.core.Config"); Field skytilsCompanionField = skytilsClass.getField("Companion"); skytilsCompanionObject = skytilsCompanionField.get(null); Method skytilsGetConfigMethod = skytilsCompanionClass.getMethod("getConfig"); skytilsConfigObject = skytilsGetConfigMethod.invoke(skytilsCompanionObject); skytilsGetShowItemRarity = skytilsConfigClass.getMethod("getShowItemRarity"); - renderUtilClass = Class.forName("skytils.skytilsmod.utils.RenderUtil"); + renderUtilClass = Class.forName("gg.skytils.skytilsmod.utils.RenderUtil"); renderRarityMethod = renderUtilClass.getDeclaredMethod( "renderRarity", ItemStack.class, -- cgit