From c411bb63c0acfa24a836bcf15cfda4279d5bf34f Mon Sep 17 00:00:00 2001 From: djdisodo Date: Sun, 10 Jun 2018 17:43:22 +0900 Subject: [PATCH] Update Main.php --- src/Ad5001/FloatingTexts/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ad5001/FloatingTexts/Main.php b/src/Ad5001/FloatingTexts/Main.php index 4b98ef2..434206c 100644 --- a/src/Ad5001/FloatingTexts/Main.php +++ b/src/Ad5001/FloatingTexts/Main.php @@ -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); } /*