mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added output initialization to allow monitoring of commands.
This commit is contained in:
parent
a91dee0e04
commit
06554e8669
1 changed files with 4 additions and 0 deletions
|
|
@ -248,6 +248,10 @@ class ConsoleAPI{
|
|||
}else{
|
||||
$output = "";
|
||||
}
|
||||
|
||||
if($output == "")
|
||||
$output = "";
|
||||
|
||||
if($output != "" and ($issuer instanceof Player)){
|
||||
$issuer->sendChat(trim($output));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue