Logs are now put into the correct slot in a furnace.

This commit is contained in:
Brianna O'Keefe 2019-02-27 12:31:18 -05:00
parent 6d9efa613d
commit 85ac8742c9
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "EpicHoppers"
path: "/builds/Songoda/$name"
version: "3.5.4"
version: "3.5.5"
build:
stage: build

View File

@ -262,7 +262,7 @@ public class HopHandler {
} else if (destinationBlock.getType() == Material.FURNACE) {
FurnaceInventory furnaceInventory = (FurnaceInventory) destinationInventory;
boolean isFuel = item.getType().isFuel();
boolean isFuel = item.getType().isFuel() && !item.getType().name().contains("LOG");
ItemStack output = isFuel ? furnaceInventory.getFuel() : furnaceInventory.getSmelting();
if (output != null && !output.isSimilar(newItem)) return false;
int maxSize = newItem.getMaxStackSize();