3.5-beta.2

This commit is contained in:
okx-code
2019-04-05 18:35:33 +01:00
parent 606cf024e0
commit 6ee799609c
29 changed files with 255 additions and 151 deletions
@@ -43,15 +43,12 @@ public class PlaceholderRequirement extends Requirement {
return p < v;
case "<=":
return p <= v;
case "==":
return p == v;
}
throw new IllegalArgumentException("Invalid operation: " + parts[1]);
}
@Override
public double getRemaining(Player player) {
return check(player) ? 0 : 1;
}
@Override
public Requirement clone() {
return new PlaceholderRequirement(this);