Level: rename unload to onUnload()

again, this is an intentional rug-jerk, along with a clearer naming.
This commit is contained in:
Dylan K. Taylor
2018-10-13 15:43:43 +01:00
parent bb286dea91
commit 1b572d3e40
2 changed files with 2 additions and 4 deletions

View File

@@ -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);
}
/**