Commit 495ca5c1 authored by Melledy's avatar Melledy
Browse files

Fix small issue with command parsing

parent 7bac86ed
...@@ -79,7 +79,7 @@ public class PlayerCommands { ...@@ -79,7 +79,7 @@ public class PlayerCommands {
return; return;
} }
// Execute // Execute
int len = Math.min(first.length() + 1, msg.length()); int len = Math.min(split[0].length() + 1, msg.length());
cmd.execute(player, msg.substring(len)); cmd.execute(player, msg.substring(len));
} }
} }
......
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