diff --git a/AdminMail/src/AdminMail/EmailTask.php b/AdminMail/src/AdminMail/EmailTask.php index 649c70b..49f609e 100644 --- a/AdminMail/src/AdminMail/EmailTask.php +++ b/AdminMail/src/AdminMail/EmailTask.php @@ -22,7 +22,7 @@ class EmailTask extends PluginTask { $this->adminmessage = $adminmessage; } - public function onRun($tick) { + public function onRun(int $currentTick) { $player = $this->getOwner()->getServer()->getPlayer($this->playername); $name = $player->getName(); $admin = $this->adminmail;