forked from 2009Scape/Server
Fixed bug with osman's dialogue
This commit is contained in:
parent
beb9d41e41
commit
337137c07a
1 changed files with 2 additions and 4 deletions
|
|
@ -478,6 +478,7 @@ class GardenObjectsPlugin : InteractionListener() {
|
|||
* @author SonicForce41
|
||||
* @date 31/12/2013
|
||||
*/
|
||||
@Initializable
|
||||
class OsmanDialogue : DialoguePlugin {
|
||||
/**
|
||||
* Represents the quest instance.
|
||||
|
|
@ -538,10 +539,7 @@ class GardenObjectsPlugin : InteractionListener() {
|
|||
20 -> {
|
||||
if (!player.getInventory().containsItem(KEY_PRINT)) {
|
||||
interpreter.sendDialogues(player, null, "Can you tell me what I need to get?")
|
||||
} else if (!player.getInventory().containsItem(BRONZE_BAR) && player.getInventory().containsItem(
|
||||
KEY_PRINT
|
||||
)
|
||||
) {
|
||||
} else if (!player.getInventory().containsItem(BRONZE_BAR) && player.getInventory().containsItem(KEY_PRINT)) {
|
||||
interpreter.sendDialogues(
|
||||
npc,
|
||||
null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue