mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Modified Level and Chunk deprecated methods
This commit is contained in:
@@ -61,7 +61,7 @@ class SetWorldSpawnCommand extends VanillaCommand{
|
||||
return true;
|
||||
}
|
||||
|
||||
$level->setSpawn($pos);
|
||||
$level->setSpawnLocation($pos);
|
||||
|
||||
Command::broadcastCommandMessage($sender, "Set world " . $level->getName() . "'s spawnpoint to " . $pos->x . ", " . $pos->y . ", " . $pos->z);
|
||||
|
||||
|
Reference in New Issue
Block a user