fix: 修复了没有前缀的问题
This commit is contained in:
1 parent
2063933634
commit
4ba41aaf42
1 file changed
+1
-1
@@ -274,7 +274,7 @@ public class BotCommand {
|
||||
source.getWorld().getRegistryKey()
|
||||
);
|
||||
|
||||
String playerName = StringArgumentType.getString(context, "player");
|
||||
String playerName = "bot_" + StringArgumentType.getString(context, "player");
|
||||
if (playerName.length() > maxNameLength(source.getServer()))
|
||||
{
|
||||
Messenger.m(source, "rb Player name: " + playerName + " is too long");
|
||||
|
||||
Reference in new issue
Block a user