Added output initialization to allow monitoring of commands.

This commit is contained in:
Michael Yoo 2013-08-22 19:18:17 +09:30
parent a91dee0e04
commit 06554e8669

View File

@ -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));
} }