Server: remove dead function getDefaultGamemode()

this was functionally identical to getGamemode() and is now just a red herring.
This commit is contained in:
Dylan K. Taylor 2019-04-13 14:31:58 +01:00
parent 6428ca2a42
commit 8a1c362db7

View File

@ -457,13 +457,6 @@ class Server{
return $this->getConfigBool("hardcore", false); return $this->getConfigBool("hardcore", false);
} }
/**
* @return int
*/
public function getDefaultGamemode() : int{
return $this->getConfigInt("gamemode", 0) & 0b11;
}
/** /**
* @return string * @return string
*/ */