hopefully replaced spaces with tabs everywhere

This commit is contained in:
GameHerobrine 2024-08-17 16:21:02 +03:00
parent ed4f820ff3
commit 89eb7097a3
42 changed files with 324 additions and 324 deletions

View file

@ -57,18 +57,18 @@ class PlayerAPI{
}
}
}else{
$message = match ($data["cause"]) {
"cactus" => " was pricked to death",
"lava" => " tried to swim in lava",
"fire" => " went up in flames",
"burning" => " burned to death",
"suffocation" => " suffocated in a wall",
"water" => " drowned",
"void" => " fell out of the world",
"fall" => " hit the ground too hard",
"explosion" => " blew up",
default => " died",
};
$message = match ($data["cause"]) {
"cactus" => " was pricked to death",
"lava" => " tried to swim in lava",
"fire" => " went up in flames",
"burning" => " burned to death",
"suffocation" => " suffocated in a wall",
"water" => " drowned",
"void" => " fell out of the world",
"fall" => " hit the ground too hard",
"explosion" => " blew up",
default => " died",
};
}
$this->server->api->chat->broadcast($data["player"]->username . $message);
return true;