Skip to content

Commit

Permalink
Update src/main/java/io/github/thebusybiscuit/slimefun4/implementatio…
Browse files Browse the repository at this point in the history
…n/items/blocks/IgnitionChamber.java

Co-authored-by: JustAHuman-xD <[email protected]>
  • Loading branch information
Intybyte and JustAHuman-xD authored Oct 26, 2024
1 parent 9972fcb commit a074daa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a074daa

Please sign in to comment.