Update Main.php
This commit is contained in:
parent
daf7e8b52b
commit
c411bb63c0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Main extends PluginBase implements \pocketmine\event\Listener {
|
||||||
public function onEnable() {
|
public function onEnable() {
|
||||||
$this->getServer()->getPluginManager()->registerEvents($this, $this);
|
$this->getServer()->getPluginManager()->registerEvents($this, $this);
|
||||||
$this->sessions = [];
|
$this->sessions = [];
|
||||||
$this->getServer()->getScheduler()->scheduleRepeatingTask(new SetNameTagVisibleTask($this),10);
|
$this->getScheduler()->scheduleRepeatingTask(new SetNameTagVisibleTask($this),10);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue