mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 15:36:08 +00:00
Level: rename unload to onUnload()
again, this is an intentional rug-jerk, along with a clearer naming.
This commit is contained in:
@@ -999,7 +999,7 @@ class Server{
|
||||
throw new \InvalidStateException("The default level cannot be unloaded while running, please switch levels.");
|
||||
}
|
||||
|
||||
return $level->unload($forceUnload);
|
||||
return $level->onUnload($forceUnload);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user