mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 00:32:01 +00:00
God capes, Ancient chamber teleport and axe array checks (#16)
* Revised shop re-stocking interval. * Revised shop re-stocking interval. * Updated character save directory. * Renamed new player save directory from accounts to characters. * Added inverse for random toggle, since it's the first thing I type every time. * Added god capes. * Re-implemented experiments. * Yell now looks a little cleaner. * Fixed outside of bounds exception on High scores, when player count doesn't meet threshold. * Cleaned up Magic Teleports class and added level requirements. * Fixed exit portal from ancient chamber. * Added check to ensure axe id isn't outside the bounds of expected axes.
This commit is contained in:
committed by
Daniel Ginovker
parent
b327e34f8e
commit
f777f24e53
@@ -21,6 +21,9 @@ public class HighscoresHandler {
|
||||
}
|
||||
|
||||
public String getRank(int i, String sortBy) {
|
||||
if (players.size() <= i)
|
||||
return "Nobody";
|
||||
|
||||
switch (sortBy)
|
||||
{
|
||||
case "level":
|
||||
|
||||
Reference in New Issue
Block a user