mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +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]);
|
$player = $this->get($params[0]);
|
||||||
}
|
}
|
||||||
if($player instanceof Player){
|
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");
|
$player->sendChat("Ouch. That looks like it hurt.\n");
|
||||||
}else{
|
}else{
|
||||||
$output .= "Usage: /$cmd [player]\n";
|
$output .= "Usage: /$cmd [player]\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue