mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-10 01:48:09 +01:00
fix
This commit is contained in:
parent
8ed7e3b08e
commit
1fe713809c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user