diff options
author | Roman / Nea <roman.graef@gmail.com> | 2022-05-11 12:39:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 10:39:52 +0000 |
commit | beddbf61cbff2e6db988b7b5c66b003241ba9cde (patch) | |
tree | ea723b60206e649347d18dac0bf2edd50faa46c3 /src/main/java/io | |
parent | 8cb323ffe9cc0a0de6572695a5562bed3db8956e (diff) | |
download | NotEnoughUpdates-beddbf61cbff2e6db988b7b5c66b003241ba9cde.tar.gz NotEnoughUpdates-beddbf61cbff2e6db988b7b5c66b003241ba9cde.tar.bz2 NotEnoughUpdates-beddbf61cbff2e6db988b7b5c66b003241ba9cde.zip |
highly complex code changes (skytils->gg.skytils) (#135)
Diffstat (limited to 'src/main/java/io')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/SkytilsCompat.java | 8 |
1 files changed, 4 insertions, 4 deletions
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, |