From f8f0db44e8af2a9c1c5e50266dfbf757c53def40 Mon Sep 17 00:00:00 2001 From: drekamor Date: Sun, 3 Sep 2023 12:41:20 +0100 Subject: [PATCH] Allow wordbanking manually renamed items --- .../com/github/igotyou/FactoryMod/recipes/WordBankRecipe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper/src/main/java/com/github/igotyou/FactoryMod/recipes/WordBankRecipe.java b/paper/src/main/java/com/github/igotyou/FactoryMod/recipes/WordBankRecipe.java index 701c3c5d..92c52714 100644 --- a/paper/src/main/java/com/github/igotyou/FactoryMod/recipes/WordBankRecipe.java +++ b/paper/src/main/java/com/github/igotyou/FactoryMod/recipes/WordBankRecipe.java @@ -55,7 +55,7 @@ public boolean applyEffect(Inventory inputInv, Inventory outputInv, FurnCraftChe if (!ItemUtils.isValidItem(toApply)) { return false; } - if (!ItemUtils.getDisplayName(toApply).isEmpty()) { + if (!ItemUtils.getDisplayName(toApply).isEmpty() && ItemUtils.getDisplayName(toApply).contains("ยง")) { return false; } ItemMap input = new ItemMap();