From a074daa63960ee76c949adb3bb29c0addc9bda11 Mon Sep 17 00:00:00 2001 From: Vaan1310 <61906290+Intybyte@users.noreply.github.com> Date: Sat, 26 Oct 2024 17:54:43 +0200 Subject: [PATCH] Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/IgnitionChamber.java Co-authored-by: JustAHuman-xD <65748158+JustAHuman-xD@users.noreply.github.com> --- .../slimefun4/implementation/items/blocks/IgnitionChamber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/IgnitionChamber.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/IgnitionChamber.java index eeaafd6d60..fc6d6e14e1 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/IgnitionChamber.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/IgnitionChamber.java @@ -111,7 +111,7 @@ private static void damageFlintAndSteel(ItemStack flintAndSteel, Block smelteryB Enchantment unbreaking = VersionedEnchantment.UNBREAKING; int lvl = flintAndSteel.getEnchantmentLevel(unbreaking); - if (UnbreakingAlgorithm.TOOLS.evaluate(lvl)) { + if (!UnbreakingAlgorithm.TOOLS.evaluate(lvl)) { damageable.setDamage(damageable.getDamage() + 1); }