Added /spawnpoint message

This commit is contained in:
Shoghi Cervantes 2014-04-04 01:54:38 +02:00
parent fb6cd22c83
commit 076bf2f2fe

View File

@ -78,6 +78,9 @@ class SpawnpointCommand extends VanillaCommand{
$target->setSpawn($pos);
Command::broadcastCommandMessage($sender, "Set ".$target->getName()."'s spawnpoint to ".$pos->x.", ".$pos->y.", ".$pos->z);
return true;
}else{
$sender->sendMessage(TextFormat::RED . "Please provide a player!");
return true;
}
}