mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Server: remove dead function getDefaultGamemode()
this was functionally identical to getGamemode() and is now just a red herring.
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user