Skip to content

Commit

Permalink
Better logic
Browse files Browse the repository at this point in the history
  • Loading branch information
DSH105 committed Feb 22, 2014
1 parent 0f2b0af commit 7173e25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static void loadLayout() {
public static HashMap<Integer, SelectorIcon> getLoadedLayout() {
HashMap<Integer, SelectorIcon> layout = new HashMap<Integer, SelectorIcon>();
for (SelectorIcon icon : selectorLayout) {
if (ConfigOptions.instance.getConfig().getBoolean("petSelector.showDisabledPets", true) && icon.getPetType() != null) {
if (!ConfigOptions.instance.getConfig().getBoolean("petSelector.showDisabledPets", true) && icon.getPetType() != null) {
if (!ConfigOptions.instance.allowPetType(icon.getPetType())) {
continue;
}
Expand Down

0 comments on commit 7173e25

Please sign in to comment.