From 319e849bb06f25dde8e1ae100f0f430bbd11a281 Mon Sep 17 00:00:00 2001 From: 90 Date: Tue, 14 May 2024 10:21:35 +0100 Subject: [PATCH] Potentially fix another crash in some situations --- .../java/gripe/_90/appliede/me/misc/TransmutationPattern.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/gripe/_90/appliede/me/misc/TransmutationPattern.java b/src/main/java/gripe/_90/appliede/me/misc/TransmutationPattern.java index c402e6b..acab5b3 100644 --- a/src/main/java/gripe/_90/appliede/me/misc/TransmutationPattern.java +++ b/src/main/java/gripe/_90/appliede/me/misc/TransmutationPattern.java @@ -28,7 +28,7 @@ public final class TransmutationPattern implements IPatternDetails { private final AEItemKey definition; public TransmutationPattern(AEItemKey item, long amount) { - tier = 0; + tier = 1; var tag = new CompoundTag(); tag.put(NBT_ITEM, (this.item = item).toTag()); @@ -38,7 +38,7 @@ public TransmutationPattern(AEItemKey item, long amount) { public TransmutationPattern(int tier) { item = null; - amount = 0; + amount = 1; var tag = new CompoundTag(); tag.putInt(NBT_TIER, this.tier = tier);