mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Fix passing through gate to training grounds + make ::shop bots tele to current loc first try (#410)
This commit is contained in:
@@ -31,16 +31,13 @@ public class Bot {
|
||||
botClient.isActive = true;
|
||||
botClient.disconnected = false;
|
||||
botClient.npcCanAttack = false;
|
||||
botClient.canWalkTutorial = true;
|
||||
botClient.tutorialProgress = 36;
|
||||
GameEngine.playerHandler.newPlayerClient(botClient);
|
||||
|
||||
loadPlayerInfo(botClient, username, "bot_password", false);
|
||||
|
||||
System.out.println("x is " + x);
|
||||
if (x == null) {
|
||||
System.out.println("Bot should be at " + botClient.getX() + ", " + botClient.getY());
|
||||
}
|
||||
if (x != null) {
|
||||
System.out.println("Moving player to " + x + "," + y + "," + z);
|
||||
botClient.getPlayerAssistant().movePlayer(x, y, z);
|
||||
}
|
||||
new TradeChat().run();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user