Skip to content

Commit

Permalink
feat: update logger to inform that the operator is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
TreemanKing committed Dec 29, 2024
1 parent c069e1c commit 017efe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private boolean checkConditions(String condition, Player player) {
// Check if the condition contains a valid operator
if (!trimmedCondition.matches(".*(<=|>=|<|>|==).*")) {
// Log a warning or handle the case where the condition format is invalid
infoLogger.warning("Invalid condition format: " + condition);
infoLogger.warning("Invalid operator: " + condition);
return false;
}

Expand Down

0 comments on commit 017efe7

Please sign in to comment.