mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-26 20:26:19 +01:00
Logs are now put into the correct slot in a furnace.
This commit is contained in:
parent
6d9efa613d
commit
85ac8742c9
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicHoppers"
|
||||
path: "/builds/Songoda/$name"
|
||||
version: "3.5.4"
|
||||
version: "3.5.5"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user