diff --git a/src/command/defaults/GiveCommand.php b/src/command/defaults/GiveCommand.php index 9637937e3..df740c2ac 100644 --- a/src/command/defaults/GiveCommand.php +++ b/src/command/defaults/GiveCommand.php @@ -89,7 +89,7 @@ class GiveCommand extends VanillaCommand{ } //TODO: overflow - $player->getInventory()->addItem(clone $item); + $player->getInventory()->addItem($item); Command::broadcastCommandMessage($sender, new TranslationContainer(KnownTranslationKeys::COMMANDS_GIVE_SUCCESS, [ $item->getName() . " (" . $item->getId() . ":" . $item->getMeta() . ")",