Merge branch 'release/3.4'

This commit is contained in:
Dylan K. Taylor 2018-11-04 11:57:40 +00:00
commit 6e05b5cc4b

View File

@ -212,7 +212,7 @@ class ItemEntity extends Entity{
$item = $this->getItem();
$playerInventory = $player->getInventory();
if(!($item instanceof Item) or ($player->isSurvival() and !$playerInventory->canAddItem($item))){
if($player->isSurvival() and !$playerInventory->canAddItem($item)){
return;
}