v0.6.1: mining also no longer costs hunger

This commit is contained in:
Evan Debenham 2017-07-31 15:01:22 -04:00 committed by Evan Debenham
parent dcc07b6ea2
commit d0dfa22fe4

View File

@ -125,12 +125,6 @@ public class Pickaxe extends Weapon {
Dungeon.level.drop( gold, hero.pos ).sprite.drop();
}
Hunger hunger = hero.buff( Hunger.class );
if (hunger != null && !hunger.isStarving()) {
hunger.reduceHunger( -Hunger.STARVING / 10 );
BuffIndicator.refreshHero();
}
hero.onOperateComplete();
}
} );