v3.1.0: fixed taking the mick including temporary pickaxe levels

This commit is contained in:
Evan Debenham
2025-04-22 11:42:50 -04:00
parent 8fcb0d03a9
commit 16d30a0d61

View File

@@ -1041,7 +1041,7 @@ public class Badges {
if (!DeviceCompat.isDebug()) return;
if (cause == Dungeon.hero &&
Dungeon.hero.belongings.attackingWeapon() instanceof Pickaxe
&& Dungeon.hero.belongings.attackingWeapon().buffedLvl() >= 20){
&& Dungeon.hero.belongings.attackingWeapon().level() >= 20){
local.add( Badge.TAKING_THE_MICK );
displayBadge(Badge.TAKING_THE_MICK);
}