You're not showing the right line of your code. However, that's not really important because the issue is you're using a class which was removed from pmmp. You'll have to stop using it in your code.
class Main extends PluginBase implements Listener { public $pvp = 0; public $prefix = TextFormat:: DARK_GRAY . "[" . TextFormat::BLUE . "EonUHC" . TextFormat:: DARK_GRAY . "]" . TextFormat::GRAY; public $globalmute = false; public $spam = []; public function onEnable() { $this->getServer()->getPluginManager()->registerEvents($this, $this); $this->getServer()->getScheduler()->scheduleRepeatingTask(new CallbackTask(array($this, "Cord")), 20); $this->getServer()->getScheduler()->scheduleRepeatingTask(new CallbackTask(array($this, "sendHealth")), 10); $this->pvp = 0; }
Yes it was removed. https://github.com/pmmp/PocketMine-MP/commit/3ffdb8e5523689efb1eaeece44fa9e1d019c0d58