mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 00:32:06 +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
@@ -20,7 +20,7 @@ public class Doors {
|
||||
|
||||
public static Doors getSingleton() {
|
||||
if (singleton == null) {
|
||||
singleton = new Doors("./data/doors.txt");
|
||||
singleton = new Doors(System.getProperty("user.dir") + "/data/doors.txt");
|
||||
}
|
||||
return singleton;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@ public class DoubleDoors {
|
||||
|
||||
if (doorClicked == null) {
|
||||
Server.objectHandler.placeObject(new Objects(-1, x, y, z, 0, 0, 0));
|
||||
System.out.println("Removed null door for poor lad");
|
||||
return true;
|
||||
}
|
||||
if (doorClicked.doorId > 12000) {
|
||||
|
||||
Reference in New Issue
Block a user