From ad05f0d7bc496b591d46086432aaa83a9f18ec3c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 28 May 2024 19:41:38 -0500 Subject: [PATCH] gold from mines no longer produces at half value --- src/engine/objects/Mine.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index f172bba1..02eef190 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -647,10 +647,9 @@ 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; } public Boolean onExit(HashSet currentPlayers){