Skip to content

Commit

Permalink
interval_range_utils.php: handle a malformed interval notation
Browse files Browse the repository at this point in the history
  • Loading branch information
cowpod committed Nov 13, 2024
1 parent 0f30a61 commit 77d6b1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/interval_range_utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function parse_interval_range($mcversion) {
}
// we assume it's a number
else {
$mcversion=trim(trim(trim(trim($mcversion,'['),']'),'['),']'); // [1.20.1]
$min=$mcversion;
$exp=explode('.',$mcversion);
error_log($exp[sizeof($exp)-1]);
Expand Down

0 comments on commit 77d6b1c

Please sign in to comment.