Fixed bug with osman's dialogue
This commit is contained in:
@@ -478,6 +478,7 @@ class GardenObjectsPlugin : InteractionListener() {
|
|||||||
* @author SonicForce41
|
* @author SonicForce41
|
||||||
* @date 31/12/2013
|
* @date 31/12/2013
|
||||||
*/
|
*/
|
||||||
|
@Initializable
|
||||||
class OsmanDialogue : DialoguePlugin {
|
class OsmanDialogue : DialoguePlugin {
|
||||||
/**
|
/**
|
||||||
* Represents the quest instance.
|
* Represents the quest instance.
|
||||||
@@ -538,10 +539,7 @@ class GardenObjectsPlugin : InteractionListener() {
|
|||||||
20 -> {
|
20 -> {
|
||||||
if (!player.getInventory().containsItem(KEY_PRINT)) {
|
if (!player.getInventory().containsItem(KEY_PRINT)) {
|
||||||
interpreter.sendDialogues(player, null, "Can you tell me what I need to get?")
|
interpreter.sendDialogues(player, null, "Can you tell me what I need to get?")
|
||||||
} else if (!player.getInventory().containsItem(BRONZE_BAR) && player.getInventory().containsItem(
|
} else if (!player.getInventory().containsItem(BRONZE_BAR) && player.getInventory().containsItem(KEY_PRINT)) {
|
||||||
KEY_PRINT
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
interpreter.sendDialogues(
|
interpreter.sendDialogues(
|
||||||
npc,
|
npc,
|
||||||
null,
|
null,
|
||||||
|
|||||||
Reference in New Issue
Block a user