changed the check to true rather than 1 to reflect the boolean format change

This commit is contained in:
Qweqker 2020-02-21 20:36:47 -05:00
parent 0ea681972f
commit caa31d9ef2

View file

@ -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;