This commit is contained in:
kotyara 2022-03-08 15:56:29 +05:00 • committed by GitHub
parent 7dc3f30542
commit 1ba0024011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";