Skip to content

Commit

Permalink
fix: Apply logic for default patches
Browse files Browse the repository at this point in the history
  • Loading branch information
notdevcody committed Aug 14, 2024
1 parent a8a2fc5 commit 022fada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/uk/betacraft/legacyfix/patch/Patch.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public boolean isDefault() {
*/
@SuppressWarnings("all")
public boolean shouldApply() {
return setting != null;
return isDefault ? setting == null : setting != null;
}

/**
Expand Down

0 comments on commit 022fada

Please sign in to comment.