Files
fabric-carpet/src/main/java/carpet/helpers/ThrowableSuppression.java
T
Fx Morin 0714098347 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
2021-10-20 23:08:23 -03:00

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;
}
}