Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-11-02 16:04:16 +00:00
2 changed files with 26 additions and 7 deletions

View File

@@ -103,6 +103,7 @@ abstract class Durable extends Item{
*/
protected function onBroken() : void{
$this->pop();
$this->setDamage(0); //the stack size may be greater than 1 if overstacked by a plugin
}
/**