Stop hardcoding "PocketMine-MP" everywhere

This commit is contained in:
Dylan K. Taylor
2017-09-25 18:17:35 +01:00
parent 6e5759b1d1
commit 10f597cd64
4 changed files with 8 additions and 7 deletions

View File

@ -276,7 +276,7 @@ class Server{
* @return string
*/
public function getName() : string{
return "PocketMine-MP";
return \pocketmine\NAME;
}
/**