Protect Item->count

This commit is contained in:
Dylan K. Taylor
2018-10-07 14:34:04 +01:00
parent 82c718cff0
commit 139aaa5577
8 changed files with 8 additions and 8 deletions

View File

@ -72,7 +72,7 @@ abstract class Crops extends Flowable{
$this->getLevel()->setBlock($this, $ev->getNewState());
}
$item->count--;
$item->pop();
return true;
}