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