Fixed player datta not getting saved, use fall distance on fly calculation

This commit is contained in:
Shoghi Cervantes
2014-10-06 12:02:36 +02:00
parent 57bb8f14fa
commit 9db2fe40eb
2 changed files with 4 additions and 5 deletions

View File

@ -1502,7 +1502,7 @@ class Server{
}
$this->maxPlayers = $this->getConfigInt("max-players", 20);
$this->autoSave = $this->getConfigBoolean("auto-save", true);
$this->setAutoSave($this->getConfigBoolean("auto-save", true));
if(($memory = str_replace("B", "", strtoupper($this->getConfigString("memory-limit", "256M")))) !== false){
$value = ["M" => 1, "G" => 1024];