mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Update bot properName
This commit is contained in:
@@ -27,8 +27,7 @@ public class Bot {
|
||||
// TODO: randomize the bot passwords
|
||||
botClient.playerPass = "bot_password";
|
||||
|
||||
char first = username.charAt(0);
|
||||
botClient.properName = Character.toUpperCase(first) + username.substring(1, username.length());
|
||||
botClient.properName = Character.toUpperCase(username.charAt(1)) + username.substring(2);
|
||||
|
||||
botClient.saveFile = true;
|
||||
botClient.saveCharacter = true;
|
||||
|
||||
Reference in New Issue
Block a user