Renamed old getID() calls to getId()

This commit is contained in:
Shoghi Cervantes
2014-12-07 15:21:32 +01:00
parent f0d6128282
commit a98da3bab1
64 changed files with 228 additions and 228 deletions

View File

@@ -944,7 +944,7 @@ class Server{
*/
public function unloadLevel(Level $level, $forceUnload = false){
if($level->unload($forceUnload) === true){
unset($this->levels[$level->getID()]);
unset($this->levels[$level->getId()]);
return true;
}
@@ -995,7 +995,7 @@ class Server{
return false;
}
$this->levels[$level->getID()] = $level;
$this->levels[$level->getId()] = $level;
$level->initLevel();
@@ -1130,7 +1130,7 @@ class Server{
$provider::generate($path, $name, $seed, $generator, $options);
$level = new Level($this, $name, $path, $provider);
$this->levels[$level->getID()] = $level;
$this->levels[$level->getId()] = $level;
$level->initLevel();