Ported rule updateSuppressionCrashFix from Carpet-Extra + More (#1133)
* Posted rule `updateSuppressionCrashFix` from Carpet-Extra Also added catch for update suppression in neighbour update during ServerPlayerEntity tick. Added Logger `updateSuppressedCrashes` so not everyone sees the crash messages Added Coords to crash message so we now know where it originates from * Make it easier to read * that `s` has been there for a long time * Made `updateSuppressionCrashFix` compatible with carpet-extra
This commit is contained in:
1 parent
506457d878
commit
0714098347
7 files changed
+169
-4
No files matched your search
@@ -28,6 +28,7 @@ public class LoggerRegistry
|
||||
public static boolean __packets;
|
||||
public static boolean __pathfinding;
|
||||
public static boolean __explosions;
|
||||
public static boolean __updateSuppressedCrashes;
|
||||
|
||||
public static void initLoggers()
|
||||
{
|
||||
@@ -47,6 +48,7 @@ public class LoggerRegistry
|
||||
registerLogger("counter",HUDLogger.stardardHUDLogger("counter","white", Arrays.stream(DyeColor.values()).map(Object::toString).toArray(String[]::new)));
|
||||
registerLogger("mobcaps", HUDLogger.stardardHUDLogger("mobcaps", "dynamic",new String[]{"dynamic", "overworld", "nether","end"}));
|
||||
registerLogger("explosions", HUDLogger.stardardLogger("explosions", "brief",new String[]{"brief", "full"}));
|
||||
registerLogger("updateSuppressedCrashes", Logger.stardardLogger("updateSuppressedCrashes", null,null));
|
||||
|
||||
}
|
||||
|
||||
@@ -172,7 +174,4 @@ public class LoggerRegistry
|
||||
log.onPlayerDisconnect(player);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user