Fix Prices evaluation if they include player placeholders
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user