Skip to content

Commit a074daa

Browse files
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>
1 parent 9972fcb commit a074daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/blocks/IgnitionChamber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private static void damageFlintAndSteel(ItemStack flintAndSteel, Block smelteryB
111111
Enchantment unbreaking = VersionedEnchantment.UNBREAKING;
112112
int lvl = flintAndSteel.getEnchantmentLevel(unbreaking);
113113

114-
if (UnbreakingAlgorithm.TOOLS.evaluate(lvl)) {
114+
if (!UnbreakingAlgorithm.TOOLS.evaluate(lvl)) {
115115
damageable.setDamage(damageable.getDamage() + 1);
116116
}
117117

0 commit comments

Comments
 (0)