Updated to receive new optimizations

This commit is contained in:
Shoghi Cervantes
2014-10-30 16:02:48 +01:00
parent 6e8e2a79dd
commit 57d1847c50
7 changed files with 65 additions and 57 deletions

View File

@@ -46,7 +46,8 @@ class SetWorldSpawnCommand extends VanillaCommand{
if(count($args) === 0){
if($sender instanceof Player){
$level = $sender->getLevel();
$pos = Vector3::cloneVector($sender)->round();
$pos = Vector3::cloneVector($sender);
$pos = $pos->round();
}else{
$sender->sendMessage(TextFormat::RED . "You can only perform this command as a player");