Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
Theslowaja authored Feb 13, 2022
1 parent fa18c1f commit c894026
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Theslowaja/AntiToolbox/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Main extends PluginBase implements Listener{
public function onEnable(): void{
$this->saveDefaultConfig();
$this->config = new Config($this->getDataFolder() . "config.yml", Config::YAML);
$this->getServer ()->getPluginManager ()->registerEvents ( $this, $this );
}

public function onLogin(PlayerLoginEvent $event){
Expand Down

0 comments on commit c894026

Please sign in to comment.