forked from 2009Scape/Server
can no longer wear (g) or (t) rune platebodies without having done dragon slayer
This commit is contained in:
parent
4a6502b4ea
commit
20e4304757
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,8 @@ public final class DragonSlayerPlugin extends OptionHandler {
|
|||
ItemDefinition.forId(2653).getHandlers().put("option:wear", this);
|
||||
ItemDefinition.forId(2669).getHandlers().put("option:wear", this);
|
||||
ItemDefinition.forId(2661).getHandlers().put("option:wear", this);
|
||||
ItemDefinition.forId(2615).getHandlers().put("option:wear", this);
|
||||
ItemDefinition.forId(2623).getHandlers().put("option:wear", this);
|
||||
// guild
|
||||
SceneryDefinition.forId(24357).getHandlers().put("option:climb-up", this);
|
||||
SceneryDefinition.forId(10558).getHandlers().put("option:open", this);
|
||||
|
|
@ -143,6 +145,8 @@ public final class DragonSlayerPlugin extends OptionHandler {
|
|||
case 2653:
|
||||
case 2661:
|
||||
case 2669:
|
||||
case 2615:
|
||||
case 2623:
|
||||
if (player.getQuestRepository().getQuest("Dragon Slayer").getStage(player) != 100) {
|
||||
player.getPacketDispatch().sendMessage("You need to complete the Dragon Slayer Quest in order to wear this.");
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue