Strip anti flight out of the core (#2428)

This may later be developed into a plugin if it is a desired feature, but having it in the core is unnecessary and a pain in the ass.
This commit is contained in:
Dylan K. Taylor
2018-09-12 10:06:57 +01:00
committed by GitHub
parent 519659fd2b
commit a9fc67663c
2 changed files with 8 additions and 44 deletions

View File

@@ -556,10 +556,11 @@ class Server{
}
/**
* @deprecated
* @return bool
*/
public function getAllowFlight() : bool{
return $this->getConfigBool("allow-flight", false);
return true;
}
/**
@@ -1470,7 +1471,6 @@ class Server{
"announce-player-achievements" => true,
"spawn-protection" => 16,
"max-players" => 20,
"allow-flight" => false,
"spawn-animals" => true,
"spawn-mobs" => true,
"gamemode" => 0,