Fix Prices evaluation if they include player placeholders

This commit is contained in:
Baterka
2023-01-27 03:04:48 +01:00
parent 1a96fdf465
commit ec606d9ebe

View File

@@ -71,10 +71,6 @@ public final class Prices {
ctx
);
if (function.apply(context) <= 0) {
return new PriceFree();
}
// Default to economy
if (priceName == null) {
return new PriceEconomy(context, function);