diff --git a/src/API/ConsoleAPI.php b/src/API/ConsoleAPI.php index 0b7e2e976..505fdf90d 100644 --- a/src/API/ConsoleAPI.php +++ b/src/API/ConsoleAPI.php @@ -248,6 +248,10 @@ class ConsoleAPI{ }else{ $output = ""; } + + if($output == "") + $output = ""; + if($output != "" and ($issuer instanceof Player)){ $issuer->sendChat(trim($output)); }