Removed not valid TimeCommand

This commit is contained in:
Shoghi Cervantes
2014-05-23 22:46:08 +02:00
parent 683ab8d2cd
commit a2b3a4bb90
5 changed files with 9 additions and 77 deletions

View File

@ -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]);