mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Removed not valid TimeCommand
This commit is contained in:
@ -70,7 +70,9 @@ class GiveCommand extends VanillaCommand{
|
||||
|
||||
return true;
|
||||
}
|
||||
$player->addItem(clone $item);
|
||||
|
||||
//TODO: overflow
|
||||
$player->getInventory()->addItem(clone $item);
|
||||
}else{
|
||||
$sender->sendMessage(TextFormat::RED . "Can't find player " . $args[0]);
|
||||
|
||||
|
Reference in New Issue
Block a user