Code Cleanup and Configuration (#231)
* Code Cleanup -Fixed Spacing * Configuration Change -Added in proper hide/unhide double check feature to code
This commit is contained in:
@@ -193,6 +193,6 @@ public interface HidePrayersPVMConfig extends Config
|
|||||||
keyName = "zamorakexpensive",
|
keyName = "zamorakexpensive",
|
||||||
name = "Zamorak Piety",
|
name = "Zamorak Piety",
|
||||||
description = "Shows prayers for Zamorak GWD"
|
description = "Shows prayers for Zamorak GWD"
|
||||||
)
|
)
|
||||||
default boolean showZamorakExpensive() {return false;}
|
default boolean showZamorakExpensive() {return false;}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -203,7 +203,22 @@ public class HidePrayersPVMPlugin extends Plugin
|
|||||||
if (!config.showZulrahCheap()
|
if (!config.showZulrahCheap()
|
||||||
&& !config.showZulrahExpensive()
|
&& !config.showZulrahExpensive()
|
||||||
&& !config.showBarrowsCheap()
|
&& !config.showBarrowsCheap()
|
||||||
&& !config.showBarrowsExpensive())
|
&& !config.showBarrowsExpensive()
|
||||||
|
&& !config.showVorkathCheap()
|
||||||
|
&& !config.showVorkathExpensive()
|
||||||
|
&& !config.showCerberusCheap()
|
||||||
|
&& !config.showCerberusExpensive()
|
||||||
|
&& !config.showCerberusRangeCheap()
|
||||||
|
&& !config.showCerberusRangeExpensive()
|
||||||
|
&& !config.showArmadylCheap()
|
||||||
|
&& !config.showArmadylExpensive()
|
||||||
|
&& !config.showBandosCheap()
|
||||||
|
&& !config.showBandosExpensive()
|
||||||
|
&& !config.showSaradominCheap()
|
||||||
|
&& !config.showSaradominExpensive()
|
||||||
|
&& !config.showZamorakCheap()
|
||||||
|
&& !config.showZamorakExpensive()
|
||||||
|
)
|
||||||
prayerWidget.setHidden(false);
|
prayerWidget.setHidden(false);
|
||||||
|
|
||||||
if (config.showZulrahCheap())
|
if (config.showZulrahCheap())
|
||||||
|
|||||||
Reference in New Issue
Block a user