* 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
12 lines
278 B
Java
12 lines
278 B
Java
package carpet.helpers;
|
|
|
|
import net.minecraft.util.math.BlockPos;
|
|
|
|
public class ThrowableSuppression extends RuntimeException{
|
|
|
|
public final BlockPos pos;
|
|
public ThrowableSuppression(String message, BlockPos pos) {
|
|
super(message);
|
|
this.pos = pos;
|
|
}
|
|
} |