Skip to content

Commit

Permalink
Potentially fix another crash in some situations
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed May 14, 2024
1 parent f672a38 commit 319e849
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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);
Expand Down

0 comments on commit 319e849

Please sign in to comment.