1
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:
Sfiguz7 2023-07-05 14:01:30 +02:00 committed by GitHub
parent 2aa526c34e
commit 82c9c57355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();