Replace {nms} and {obc} tags

This commit is contained in:
Lixfel
2025-01-06 10:15:48 +01:00
parent ab34d86da4
commit da148c0e9f
60 changed files with 182 additions and 182 deletions
@@ -32,7 +32,7 @@ public class SlowMoUtils {
private static final Field field;
public static final boolean freezeEnabled;
private static final Reflection.Method getWorldHandle = Reflection.getTypedMethod(Reflection.getClass("{obc}.CraftWorld"), "getHandle", null);
private static final Reflection.Method getWorldHandle = Reflection.getTypedMethod(Reflection.getClass("org.bukkit.craftbukkit.CraftWorld"), "getHandle", null);
private static boolean frozen = false;
private static final World world;
@@ -40,7 +40,7 @@ public class SlowMoUtils {
static {
Field temp;
try {
temp = Reflection.getClass("{nms.server.level}.WorldServer").getField("freezed");
temp = Reflection.getClass("net.minecraft.server.level.WorldServer").getField("freezed");
} catch (NoSuchFieldException e) {
temp = null;
}