From 1fe713809cd74a363110db06ab98c7a680f5c222 Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Tue, 1 Jan 2019 18:13:38 -0500 Subject: [PATCH] fix --- .../java/com/songoda/epichoppers/handlers/HopHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java index c366084..f8c8f42 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java @@ -230,10 +230,10 @@ public class HopHandler { hopperState.getInventory().setItem(place, is); return true; } - } else if (destinationBlock.getType() == Material.FURNACE || destinationBlock.getType() == Material.BURNING_FURNACE) { + } else if (destinationBlock.getType() == Material.FURNACE) { FurnaceInventory furnaceInventory = (FurnaceInventory) outputContainer.getInventory(); - boolean isFuel = Methods.isFuel(item.getType()); + boolean isFuel = item.getType().isFuel(); ItemStack output = isFuel ? furnaceInventory.getFuel() : furnaceInventory.getSmelting(); if (output != null && !output.isSimilar(newItem)) return false; int maxSize = newItem.getMaxStackSize();