Skip to content

Commit

Permalink
Fix crafting output not showing when PET is opened (#6784)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Nov 20, 2022
1 parent 197139e commit 7c5aa7d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/main/java/appeng/menu/slot/PatternTermSlot.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ public PatternTermSlot(Player player, IActionSource mySrc, IEnergySource energyS
}

@Override
public ItemStack getItem() {
if (!this.isActive()) {
this.clearStack();
}

return super.getItem();
public void initialize(ItemStack stack) {
// The result is computed on the client-side, don't let the server override it with an empty stack.
}
}

0 comments on commit 7c5aa7d

Please sign in to comment.