mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Ouch.
This commit is contained in:
parent
7dc3f30542
commit
1ba0024011
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ class PlayerAPI{
|
|||
$player = $this->get($params[0]);
|
||||
}
|
||||
if($player instanceof Player){
|
||||
$player->entity->harm(1000, "console", true);
|
||||
$player->entity->harm(PHP_INT_MAX, "console", true);
|
||||
$player->sendChat("Ouch. That looks like it hurt.\n");
|
||||
}else{
|
||||
$output .= "Usage: /$cmd [player]\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue