mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 15:36:08 +00:00
Added Stack Count
This commit is contained in:
@@ -132,7 +132,7 @@ class BlockAPI{
|
||||
|
||||
if(($player = $this->server->api->player->get($username)) !== false){
|
||||
$this->drop(new Vector3($player->entity->x - 0.5, $player->entity->y, $player->entity->z - 0.5), $item, true);
|
||||
$output .= "Giving ".$amount." of ".$item->getName()." (".$item->getID().":".$item->getMetadata().") to ".$username."\n";
|
||||
$output .= "Giving ".$item->count." of ".$item->getName()." (".$item->getID().":".$item->getMetadata().") to ".$username."\n";
|
||||
}else{
|
||||
$output .= "Unknown player\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user