mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09: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){
|
if($e instanceof Entity){
|
||||||
switch($e->class){
|
switch($e->class){
|
||||||
case ENTITY_PLAYER:
|
case ENTITY_PLAYER:
|
||||||
$message .= " was killed by ".$e->name;
|
$message = " was killed by ".$e->name;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$message = " was killed";
|
$message = " was killed";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue