Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
ae942179c1
Commit
aa121bb5e8
@ -42,7 +42,6 @@ public class FreezeUtils {
|
|||||||
private static final World world;
|
private static final World world;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|
||||||
field = ReflectionsUtils.getField(Reflection.getClass("{nms.server.level}.WorldServer"), "freezed");
|
field = ReflectionsUtils.getField(Reflection.getClass("{nms.server.level}.WorldServer"), "freezed");
|
||||||
if (field != null) field.setAccessible(true);
|
if (field != null) field.setAccessible(true);
|
||||||
freezeEnabled = field != null;
|
freezeEnabled = field != null;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren