mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
Fixed northern stairs location in mining guild building
This commit is contained in:
parent
ba4cd277f4
commit
d8998b6d7d
1 changed files with 5 additions and 0 deletions
|
|
@ -30,12 +30,17 @@ public final class MiningGuildPlugin extends OptionHandler {
|
|||
SceneryDefinition.forId(2113).getHandlers().put("option:climb-down", this);
|
||||
SceneryDefinition.forId(30941).getHandlers().put("option:climb-up", this);
|
||||
SceneryDefinition.forId(2112).getHandlers().put("option:open", this);
|
||||
SceneryDefinition.forId(35783).getHandlers().put("option:climb-down", this);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handle(Player player, Node node, String option) {
|
||||
if (option.equals("climb-down")) {
|
||||
if (player.getLocation().withinDistance(Location.create(3021, 3343, 1),2)) {
|
||||
ClimbActionHandler.climb(player, new Animation(0), Location.create(3017, 3343, 0));
|
||||
return true;
|
||||
}
|
||||
if (player.getLocation().withinDistance(Location.create(3019, 3339, 0), 4)) {
|
||||
if (getDynLevel(player, Skills.MINING) < 60) {
|
||||
player.getDialogueInterpreter().open(382, NPC.create(382, Location.create(0, 0, 0)), 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue