From 25391039bc600cdf235830fff5f28a6b93dcf9ca Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 16 Feb 2023 19:41:33 +0100 Subject: [PATCH] Fixed ints in exp source --- .../Indyuce/mmocore/api/quest/trigger/ExperienceTrigger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/ExperienceTrigger.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/ExperienceTrigger.java index 0df1d948..86f251af 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/ExperienceTrigger.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/ExperienceTrigger.java @@ -36,6 +36,6 @@ public class ExperienceTrigger extends Trigger { @Override public void apply(PlayerData player) { - dispenser.giveExperience(player, amount.calculateInt(), null, source); + dispenser.giveExperience(player, amount.calculate(), null, source); } }