Skip to content

Commit

Permalink
Fix the compatibility of CMILib plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Oct 22, 2023
1 parent e7a9d5e commit 3ed2170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public static byte[] injectPluginFix(String className, byte[] clazz) {
case "com.sk89q.worldedit.bukkit.adapter.impl.v1_20_R1.PaperweightAdapter$SpigotWatchdog" -> WorldEdit::handleWatchdog;
case "com.earth2me.essentials.utils.VersionUtil" -> node -> helloWorld(node, "net.fabricmc.loader.launch.knot.KnotServer", "hello.World");
case "net.ess3.nms.refl.providers.ReflServerStateProvider" -> node -> helloWorld(node, "u", "U");
case "net.Zrips.CMILib.Reflections" -> node -> helloWorld(node, "bR", "field_7512");
default -> null;
};
return patcher == null ? clazz : patch(clazz, patcher);
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/mappings/spigot2srg.srg
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,7 @@ net/minecraft/nbt/NBTTagList net/minecraft/class_2499
a (Lnet/minecraft/nbt/NBTBase;)Z method_10605
b (I)Lnet/minecraft/nbt/NBTTagList; method_10603
d (I)S method_10609
d (ILnet/minecraft/nbt/NBTBase;)Lnet/minecraft/nbt/NBTBase; method_10606
e ()Lnet/minecraft/nbt/NBTTagList; method_10612
e (I)I method_10600
f (I)[I method_36111
Expand Down

0 comments on commit 3ed2170

Please sign in to comment.