mirror of
https://github.com/Flowsqy/ShopChest.git
synced 2025-01-05 07:27:39 +01:00
A reverse is applicable on a condition
This commit is contained in:
parent
42f8ad4744
commit
1eaab510eb
@ -230,7 +230,7 @@ public class FormatParser {
|
||||
// Create reversed
|
||||
final Condition<?> reversed;
|
||||
final boolean isValue = nextToken.getType() == Token.VALUE;
|
||||
if (isValue || nextToken.getType() == Token.VALUE) {
|
||||
if (isValue || nextToken.getType() == Token.CONDITION) {
|
||||
if (isValue) {
|
||||
final String value = (String) nextToken.getValue();
|
||||
final P provided = providerFunction.apply(value);
|
||||
|
Loading…
Reference in New Issue
Block a user