mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/multiblocks/AutomatedPanningMachine.java
This commit is contained in:
parent
2aa526c34e
commit
82c9c57355
@ -63,7 +63,7 @@ public class AutomatedPanningMachine extends MultiBlockMachine {
|
||||
public void onInteract(Player p, Block b) {
|
||||
ItemStack input = p.getInventory().getItemInMainHand();
|
||||
Material material = input.getType();
|
||||
ItemStack output = null;
|
||||
ItemStack output;
|
||||
|
||||
if (goldPan.isValidInputMaterial(material)) {
|
||||
output = goldPan.getRandomOutput();
|
||||
|
Loading…
Reference in New Issue
Block a user