mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
GiveCommand: show the search term in audit message, instead of the ID
this is more useful in the longer term.
This commit is contained in:
parent
86efa0aae6
commit
a38a5c67f1
@ -99,7 +99,7 @@ class GiveCommand extends VanillaCommand{
|
||||
$player->getInventory()->addItem($item);
|
||||
|
||||
Command::broadcastCommandMessage($sender, KnownTranslationFactory::commands_give_success(
|
||||
$item->getName() . " (" . $item->getId() . ":" . $item->getMeta() . ")",
|
||||
$item->getName() . " (" . $args[1] . ")",
|
||||
(string) $item->getCount(),
|
||||
$player->getName()
|
||||
));
|
||||
|
Loading…
x
Reference in New Issue
Block a user