From c696bd368ea635a899b52236f9096613b05601b1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 6 Jun 2024 19:14:06 -0500 Subject: [PATCH] gold amount no longer reduced for mine production --- src/engine/objects/Mine.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index f21eaecf..33c00e89 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -574,11 +574,11 @@ public class Mine extends AbstractGameObject { amount = 12000000; break; } - if(this.production.UUID == 7) - amount *= 0.5f; - else + + if(this.production.UUID != 7) amount = amount / value; - return (int) amount; + + return amount; } public Boolean onExit(HashSet currentPlayers){ ArrayList purge = new ArrayList<>();