mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed undefined $message
This commit is contained in:
parent
15c9b7214d
commit
45efcc5faa
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class PlayerAPI{
|
|||
if($e instanceof Entity){
|
||||
switch($e->class){
|
||||
case ENTITY_PLAYER:
|
||||
$message .= " was killed by ".$e->name;
|
||||
$message = " was killed by ".$e->name;
|
||||
break;
|
||||
default:
|
||||
$message = " was killed";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue