Merge branch 'release/3.1' into release/3.2

This commit is contained in:
Dylan K. Taylor 2018-08-05 11:33:11 +01:00
commit bcf9915082

View File

@ -38,7 +38,7 @@ class DropItemAction extends InventoryAction{
}
public function isValid(Player $source) : bool{
return true;
return !$this->targetItem->isNull();
}
public function onPreExecute(Player $source) : bool{