mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-10 15:59:39 +00:00
fix #2910 WorldManager->getLevel() missed in refactor
This commit is contained in:
parent
cf0c0e72a9
commit
fc90cdcc95
@ -117,7 +117,7 @@ class WorldManager{
|
||||
*
|
||||
* @return World|null
|
||||
*/
|
||||
public function getLevel(int $worldId) : ?World{
|
||||
public function getWorld(int $worldId) : ?World{
|
||||
return $this->worlds[$worldId] ?? null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user