Merge branch 'release/3.2'

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

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{