fix #2910 WorldManager->getLevel() missed in refactor

This commit is contained in:
Dylan K. Taylor 2019-05-08 14:05:42 +01:00
parent cf0c0e72a9
commit fc90cdcc95

View File

@ -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;
}