From 56e39507212ce6fb039817e40cc0caf27fdf16fa Mon Sep 17 00:00:00 2001 From: Josh North Date: Wed, 26 Jul 2017 09:44:09 -0400 Subject: [PATCH] Update 'AdminMail/src/AdminMail/EmailTask.php' --- AdminMail/src/AdminMail/EmailTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;