Fix wine of zamorak pickup interaction.
This commit is contained in:
@@ -61,7 +61,6 @@ public final class FaladorNodePlugin extends OptionHandler {
|
||||
// dwarven mine
|
||||
SceneryDefinition.forId(30868).getHandlers().put("option:squeeze-through", this);
|
||||
SceneryDefinition.forId(5020).getHandlers().put("option:ride", this);
|
||||
ItemDefinition.forId(245).getHandlers().put("option:take", this);
|
||||
// fally park.
|
||||
NPCDefinition.forId(2290).getHandlers().put("option:talk-to", this);
|
||||
SceneryDefinition.forId(11708).getHandlers().put("option:close", this);
|
||||
|
||||
@@ -355,9 +355,12 @@ public final class InteractionPacket implements IncomingPacket {
|
||||
player.debug("Handled by quest interaction manager.");
|
||||
return;
|
||||
}
|
||||
if(InteractionListeners.run(item.getId(), InteractionListener.Companion.getGROUNDITEM(), option.getName(),player,item)){
|
||||
if(InteractionListeners.run(item.getId(), InteractionListener.Companion.getGROUNDITEM(), option.getName(), player, item)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(InteractionListeners.run(item.getId(), InteractionListener.Companion.getITEM(), option.getName(), player, item)) {
|
||||
return;
|
||||
}
|
||||
item.getInteraction().handle(player, option);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user