mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 03:35:33 +00:00
Added output initialization to allow monitoring of commands.
This commit is contained in:
parent
a91dee0e04
commit
06554e8669
@ -248,6 +248,10 @@ class ConsoleAPI{
|
|||||||
}else{
|
}else{
|
||||||
$output = "";
|
$output = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($output == "")
|
||||||
|
$output = "";
|
||||||
|
|
||||||
if($output != "" and ($issuer instanceof Player)){
|
if($output != "" and ($issuer instanceof Player)){
|
||||||
$issuer->sendChat(trim($output));
|
$issuer->sendChat(trim($output));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user