mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 16:49:07 +00:00
Make 8 spaces 4 (#317)
This commit is contained in:
@@ -278,7 +278,7 @@ public class Commands implements PacketType {
|
|||||||
if (p == null) {
|
if (p == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
PlayerSave.saveGame((Client) p);
|
PlayerSave.saveGame(p);
|
||||||
System.out.println("Saved game for " + p.playerName + ".");
|
System.out.println("Saved game for " + p.playerName + ".");
|
||||||
GameEngine.lastMassSave = System.currentTimeMillis();
|
GameEngine.lastMassSave = System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
@@ -321,7 +321,6 @@ public class Commands implements PacketType {
|
|||||||
hs.getRank(player, 9, "damage"),
|
hs.getRank(player, 9, "damage"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Clear all lines
|
// Clear all lines
|
||||||
for (int i = 8144; i < 8195; i++) player.getPacketSender().sendFrame126("", i);
|
for (int i = 8144; i < 8195; i++) player.getPacketSender().sendFrame126("", i);
|
||||||
|
|
||||||
@@ -462,12 +461,13 @@ public class Commands implements PacketType {
|
|||||||
player.getPacketSender().sendMessage("You must specify the amount of time in seconds: ::update 300");
|
player.getPacketSender().sendMessage("You must specify the amount of time in seconds: ::update 300");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int seconds = Integer.parseInt(arguments[0]);
|
PlayerHandler.updateSeconds = Integer.parseInt(arguments[0]);
|
||||||
PlayerHandler.updateSeconds = seconds;
|
|
||||||
PlayerHandler.updateAnnounced = false;
|
PlayerHandler.updateAnnounced = false;
|
||||||
PlayerHandler.updateRunning = true;
|
PlayerHandler.updateRunning = true;
|
||||||
PlayerHandler.updateStartTime = System.currentTimeMillis();
|
PlayerHandler.updateStartTime = System.currentTimeMillis();
|
||||||
} catch (Exception e) {}
|
} catch (Exception e) {
|
||||||
|
System.out.println("Update exception: " + e);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user