You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Returning false if first value is not a number.
35
36
if (a == null) {
36
-
Dialogs.getInstance().getLogger().warning("Tried to compare placeholder '" + placeholder + "' but output is not a number: '" + parsed + "'");
37
+
Dialogs.getInstance().getLogger().warning("Tried to compare placeholder '" + placeholder + "' but output is not a number: '" + parsedPlaceholder + "'");
37
38
yield false;
38
39
}
39
40
// Returning false if second value is not a number.
40
41
if (b == null) {
41
-
Dialogs.getInstance().getLogger().warning("Tried to compare placeholder '" + placeholder + "' but expected value is not a number: '" + value + "'");
42
+
Dialogs.getInstance().getLogger().warning("Tried to compare placeholder '" + placeholder + "' but expected value is not a number: '" + parsedValue + "'");
42
43
yield false;
43
44
}
44
45
// Comparing numbers based on the specified operator and returning the result.
@@ -53,10 +54,10 @@ public boolean testCondition(final @NotNull Player player) {
0 commit comments