From 36d328861c481b567d34ef6a2c44740c5964806f Mon Sep 17 00:00:00 2001 From: kotyaralih <62548070+kotyaralih@users.noreply.github.com> Date: Tue, 11 Jan 2022 10:33:37 +0000 Subject: [PATCH] Command spy is back! --- src/Player.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Player.php b/src/Player.php index 5526b020..fffbdda6 100644 --- a/src/Player.php +++ b/src/Player.php @@ -2011,6 +2011,7 @@ class Player{ if(trim($packet->message) != "" and strlen($packet->message) <= 255){ $message = $packet->message; if($message{0} === "/"){ //Command + console("[INFO] " . FORMAT_AQUA . $this->username . FORMAT_RESET . " issued a command: " . FORMAT_AQUA . $message); $this->server->api->console->run(substr($message, 1), $this); }else{ $data = array("player" => $this, "message" => $message);