Update HidePrayersPlugin.java

This commit is contained in:
Kyleeld
2019-05-09 22:48:39 +01:00
committed by GitHub
parent f677d2d28a
commit 0485fd7e42

View File

@@ -193,7 +193,19 @@ public class HidePrayersPlugin extends Plugin
Prayer prayer = Prayer.values()[index];
Widget prayerWidget = prayerWidgets.get(prayer.ordinal());
if (!config.showPrayers() && !config.showEagleMystic())
if (!config.showPrayers() && !config.showEagle())
prayerWidget.setHidden(false);
if (!config.showPrayers() && !config.showMystic())
prayerWidget.setHidden(false);
if (!config.showPrayers() && !config.showUltStrength())
prayerWidget.setHidden(false);
if (!config.showPrayers() && !config.showPreserve())
prayerWidget.setHidden(false);
if (!config.showPrayers() && !config.showRapidHeal())
prayerWidget.setHidden(false);
if (!config.showPrayers() && !config.showRapidRestore())
prayerWidget.setHidden(false);
if (!config.showPrayers() && !config.showRedemption())
prayerWidget.setHidden(false);
if (config.showPrayers())
@@ -304,4 +316,4 @@ public class HidePrayersPlugin extends Plugin
}
}
}
}
}