Migrate reflections to mojang mapped by default

This commit is contained in:
Lixfel
2025-01-06 16:44:10 +01:00
parent 94a1ed3569
commit 9888700273
44 changed files with 216 additions and 110 deletions
@@ -40,7 +40,7 @@ public class SlowMoUtils {
static {
Field temp;
try {
temp = Reflection.getClass("net.minecraft.server.level.WorldServer").getField("freezed");
temp = Reflection.getClass("net.minecraft.server.level.ServerLevel").getField("freezed");
} catch (NoSuchFieldException e) {
temp = null;
}