Creative now can pick up item
This commit is contained in:
parent
46e3983197
commit
19cfc93523
1 changed files with 1 additions and 1 deletions
|
|
@ -1575,7 +1575,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||
$pk->target = $entity->getId();
|
||||
$this->dataPacket($pk);
|
||||
|
||||
if(!$this->isCreative()) $this->inventory->addItem(clone $item);
|
||||
$this->inventory->addItem(clone $item);
|
||||
$entity->kill();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue