Update Main.php

This commit is contained in:
djdisodo 2018-06-10 17:43:22 +09:00 committed by GitHub
parent daf7e8b52b
commit c411bb63c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ class Main extends PluginBase implements \pocketmine\event\Listener {
public function onEnable() {
$this->getServer()->getPluginManager()->registerEvents($this, $this);
$this->sessions = [];
$this->getServer()->getScheduler()->scheduleRepeatingTask(new SetNameTagVisibleTask($this),10);
$this->getScheduler()->scheduleRepeatingTask(new SetNameTagVisibleTask($this),10);
}
/*