From ec606d9ebe8f45df91033fcad6374503c80c3a6c Mon Sep 17 00:00:00 2001 From: Baterka Date: Fri, 27 Jan 2023 03:04:48 +0100 Subject: [PATCH] Fix Prices evaluation if they include player placeholders --- eco-api/src/main/java/com/willfp/eco/core/price/Prices.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/price/Prices.java b/eco-api/src/main/java/com/willfp/eco/core/price/Prices.java index a59c64e9..f2363c0c 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/price/Prices.java +++ b/eco-api/src/main/java/com/willfp/eco/core/price/Prices.java @@ -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);