Commit 5437e0f8 authored by Frago9876543210's avatar Frago9876543210 Committed by GitHub
Browse files

Fix #850

parent 3f4b13b9
......@@ -3263,7 +3263,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
$commandText = $packet->command;
if($packet->inputJson !== null){
foreach($packet->inputJson as $arg){ //command ordering will be an issue
if(is_string($arg)) //anti bot
if(!is_object($arg)) //anti bot
$commandText .= " " . $arg;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment