test why player falls or dies on email send?
This commit is contained in:
parent
380a3c2e1a
commit
12e38efb38
@ -37,6 +37,6 @@ class AdminMail extends PluginBase implements Listener {
|
|||||||
$player = $event->getPlayer();
|
$player = $event->getPlayer();
|
||||||
$name = $player->getName();
|
$name = $player->getName();
|
||||||
$adminmail = $this->getConfig()->get("adminmail");
|
$adminmail = $this->getConfig()->get("adminmail");
|
||||||
mail($adminmail, "PMMP - $name joined", "Hello, player $name has joined the server.");
|
#mail($adminmail, "PMMP - $name joined", "Hello, player $name has joined the server.");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user