mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-14 16:04:40 +01:00
Move command prefix stripping to ChatManager
This commit is contained in:
@@ -34,7 +34,7 @@ public class ChatManager {
|
||||
|
||||
// Check if command
|
||||
if (PREFIXES.contains(message.charAt(0))) {
|
||||
CommandMap.getInstance().invoke(player, target, message);
|
||||
CommandMap.getInstance().invoke(player, target, message.substring(1));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user