Update 'AdminMail/src/AdminMail/EmailTask.php'
This commit is contained in:
parent
a07642cbb4
commit
56e3950721
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user