mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
hopefully replaced spaces with tabs everywhere
This commit is contained in:
parent
ed4f820ff3
commit
89eb7097a3
42 changed files with 324 additions and 324 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue