mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Update (#394)
Closes #393 - Sophanem city gates now functioning Closes #392 - Improved rug travel, added missing travel options Closes #391 - Added those curtains, along with many more curtains and other functional objects Closes #390 - Dramen branch now untradeable/same with staff Closes #389 - Lumbridge door should no longer get stuck, should fix other doors aswell Closes #388 - Added Rasolo npc spawn Closes #385 - Added missing fishing guild spawns Closes #384 - Added missing port khazard npcs and a few other missing npcs too Closes #379 - Added smelt x option Closes #334 - Fixed dragon dagger store price and fixed high alch/low alch value for it Closes #278 - Fixed strange numbers on runecrafting interface Closes #244 -These were previously fixed Also included: - Added recieving random gems when mining (thanks to ben for pointing this out) - Reduced door usage delay - Random cleanup and deleted some unsued files/code - Fixed many npc item drop names (thanks to iizyy for pointing them out) - Fixed a few wizard tower doors - Did more cleanup with the some of the old boundary methods - Tidied up the discord commands and added the proper urls for them
This commit is contained in:
@@ -16,8 +16,7 @@ public class PassDoor {
|
||||
private static long doorDelay;
|
||||
|
||||
public static boolean passThroughDoor(final Player player, final int objectType, int face1, final int face2, final int type, int x, int y, final int height) {
|
||||
if (System.currentTimeMillis() - doorDelay < 1200) {
|
||||
player.getPacketSender().sendMessage("You must wait longer to pass this door.");
|
||||
if (System.currentTimeMillis() - doorDelay < 800) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -76,6 +75,10 @@ public class PassDoor {
|
||||
passThroughDoor(player, objectType, 1, 2, 0, 1, 0, 2);
|
||||
} else if (Position.checkPosition(player, 3108, 3162, 2)) {
|
||||
passThroughDoor(player, objectType, 1, 2, 0, -1, 0, 2);
|
||||
} else if (Position.checkPosition(player, 3109, 3162, 1)) {
|
||||
passThroughDoor(player, objectType, 1, 2, 0, 1, 0, 1);
|
||||
} else if (Position.checkPosition(player, 3110, 3162, 1)) {
|
||||
passThroughDoor(player, objectType, 1, 2, 0, -1, 0, 1);
|
||||
} else if (Position.checkPosition(player, 3109, 3159, 1)) {
|
||||
passThroughDoor(player, objectType, 1, 2, 0, 1, 0, 1);
|
||||
} else if (Position.checkPosition(player, 3110, 3159, 1)) {
|
||||
|
||||
Reference in New Issue
Block a user