forked from 2009Scape/Server
changed the check to true rather than 1 to reflect the boolean format change
This commit is contained in:
parent
0ea681972f
commit
caa31d9ef2
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue