This commit is contained in:
gnembon committed 2024-03-27 21:57:05 +01:00
1 parent d4e1976ff8
commit d7468ac561
6 files changed
+16 -8

No files matched your search

@@ -13,7 +13,7 @@ import org.spongepowered.asm.mixin.injection.ModifyConstant;
public abstract class StructureBlockEntity_limitsMixin
{
@ModifyConstant(
method = "load",
method = "loadAdditional",
constant = @Constant(intValue = StructureBlockEntity.MAX_SIZE_PER_AXIS)
)
private int positiveLimit(int original) {
@@ -21,7 +21,7 @@ public abstract class StructureBlockEntity_limitsMixin
}
@ModifyConstant(
method = "load",
method = "loadAdditional",
constant = @Constant(intValue = -StructureBlockEntity.MAX_SIZE_PER_AXIS)
)
private int negativeLimit(int original) {