Move and rename Reflection fields

This commit is contained in:
Lixfel
2024-12-26 19:11:01 +01:00
parent bd87221198
commit 0f73939bf0
80 changed files with 547 additions and 805 deletions
@@ -21,7 +21,7 @@
package de.steamwar.misslewars.slowmo;
import com.comphenix.tinyprotocol.Reflection;
import de.steamwar.Reflection;
import org.bukkit.Bukkit;
import org.bukkit.World;
@@ -32,7 +32,7 @@ public class SlowMoUtils {
private static final Field field;
public static final boolean freezeEnabled;
private static final Reflection.MethodInvoker getWorldHandle = Reflection.getTypedMethod(Reflection.getClass("{obc}.CraftWorld"), "getHandle", null);
private static final Reflection.Method getWorldHandle = Reflection.getTypedMethod(Reflection.getClass("{obc}.CraftWorld"), "getHandle", null);
private static boolean frozen = false;
private static final World world;