From caa31d9ef233d79b435d84a61efd3014c1506c20 Mon Sep 17 00:00:00 2001 From: Qweqker Date: Fri, 21 Feb 2020 20:36:47 -0500 Subject: [PATCH] changed the check to true rather than 1 to reflect the boolean format change --- Server/src/plugin/dialogue/HansDialoguePlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/plugin/dialogue/HansDialoguePlugin.java b/Server/src/plugin/dialogue/HansDialoguePlugin.java index 5083819c3..460a8d64c 100644 --- a/Server/src/plugin/dialogue/HansDialoguePlugin.java +++ b/Server/src/plugin/dialogue/HansDialoguePlugin.java @@ -151,7 +151,7 @@ public final class HansDialoguePlugin extends DialoguePlugin { case 100: switch (buttonId) { case 1: //no longer want to be iron - if (player.getSavedData().getActivityData().getHardcoreDeath() == 1) { + if (player.getSavedData().getActivityData().getHardcoreDeath() == true) { interpreter.sendDialogues(npc, FacialExpression.GUILTY, "Sorry, but you've fallen as a Hardcore Iron Man", "already. It would be unfair for those with other", " restrictions if your status were to be removed!"); stage = 50; break; @@ -168,7 +168,7 @@ public final class HansDialoguePlugin extends DialoguePlugin { break; } case 2: //change ironman mode - if (player.getSavedData().getActivityData().getHardcoreDeath() == 1) { + if (player.getSavedData().getActivityData().getHardcoreDeath() == true) { interpreter.sendDialogues(npc, FacialExpression.GUILTY, "Sorry, but you've fallen as a Hardcore Iron Man", "already. It would be unfair for those with other", " restrictions if your status were to be changed!"); stage = 50; break;