Skip to content

Commit

Permalink
Fix logic error in MinecraftVersionRange
Browse files Browse the repository at this point in the history
  • Loading branch information
MMK21Hub committed Aug 21, 2023
1 parent 93a1dae commit 2ec612b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/minecraftVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class MinecraftVersionRange {
}

isConstrained() {
return this.end || this.start || this.excludeRanges.length !== 0
return this.end && this.start && this.excludeRanges.length !== 0
}

isUnconstrained() {
Expand Down

0 comments on commit 2ec612b

Please sign in to comment.