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
@@ -961,6 +961,12 @@ public class CarpetSettings
|
||||
)
|
||||
public static String updateSuppressionBlock = "false";
|
||||
|
||||
@Rule(
|
||||
desc = "Fixes update suppression causing server crashes.",
|
||||
category = {BUGFIX}
|
||||
)
|
||||
public static boolean updateSuppressionCrashFix = false;
|
||||
|
||||
public static int getInteger(String s) {
|
||||
try {
|
||||
return Integer.parseInt(s);
|
||||
|
||||
Reference in new issue
Block a user