Skip to content

Commit

Permalink
Update src/main/java/io/github/thebusybiscuit/slimefun4/implementatio…
Browse files Browse the repository at this point in the history
…n/items/multiblocks/AutomatedPanningMachine.java

Co-authored-by: J3fftw <[email protected]>
  • Loading branch information
Sfiguz7 and J3fftw1 authored Jul 5, 2023
1 parent 1161893 commit 2aa526c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public AutomatedPanningMachine(ItemGroup itemGroup, SlimefunItemStack item) {
public void onInteract(Player p, Block b) {
ItemStack input = p.getInventory().getItemInMainHand();
Material material = input.getType();
ItemStack output;
ItemStack output = null;

if (goldPan.isValidInputMaterial(material)) {
output = goldPan.getRandomOutput();
Expand Down

0 comments on commit 2aa526c

Please sign in to comment.