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",
|
||||
name = "Zamorak Piety",
|
||||
description = "Shows prayers for Zamorak GWD"
|
||||
)
|
||||
)
|
||||
default boolean showZamorakExpensive() {return false;}
|
||||
}
|
||||
|
||||
@@ -203,7 +203,22 @@ public class HidePrayersPVMPlugin extends Plugin
|
||||
if (!config.showZulrahCheap()
|
||||
&& !config.showZulrahExpensive()
|
||||
&& !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);
|
||||
|
||||
if (config.showZulrahCheap())
|
||||
|
||||
Reference in New Issue
Block a user