From 06a4a9180d95be72c7fd58e383fffe02c8e8d2f8 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 7 May 2020 19:07:01 +0200 Subject: [PATCH] Fix LinkageError --- src/main/java/com/gamingmesh/jobs/economy/PaymentData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/economy/PaymentData.java b/src/main/java/com/gamingmesh/jobs/economy/PaymentData.java index bb826095..25b2925e 100644 --- a/src/main/java/com/gamingmesh/jobs/economy/PaymentData.java +++ b/src/main/java/com/gamingmesh/jobs/economy/PaymentData.java @@ -50,13 +50,13 @@ public class PaymentData { public Double GetAmount(CurrencyType type) { if (!payments.containsKey(type)) return 0D; - return (int) (payments.get(type) * 100) / 100.0; + return (payments.get(type) * 100) / 100.0; } public Double GetAmountBylimit(CurrencyType type, int limit) { if (GetAmount(type) > limit) return (double) limit; - return (int) (GetAmount(type) * 100) / 100.0; + return (GetAmount(type) * 100) / 100.0; } public Long GetLastAnnounced() {