Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9d9b67c

Browse files
committedJul 17, 2020
Remove language seleted message
1 parent b5dddbe commit 9d9b67c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed
 

‎src/blugin/chunkloader/ChunkLoader.php

+1-9
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,9 @@ public function onLoad() : void{
7676
* Called when the plugin is enabled
7777
*/
7878
public function onEnable() : void{
79-
//Load config file
80-
$this->saveDefaultConfig();
81-
$this->reloadConfig();
79+
//Load config and language
8280
$config = $this->getConfig();
83-
84-
//Load language file
8581
$this->loadLanguage($config->getNested("settings.language"));
86-
$this->getLogger()->info($this->language->translate("language.selected", [
87-
$this->language->getName(),
88-
$this->language->getLang()
89-
]));
9082

9183
//Load registered chunk map
9284
if(file_exists($file = "{$this->getDataFolder()}data.dat")){

0 commit comments

Comments
 (0)
Please sign in to comment.