Browse Source

gold from mines no longer produces at half value

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
ad05f0d7bc
  1. 5
      src/engine/objects/Mine.java

5
src/engine/objects/Mine.java

@ -647,10 +647,9 @@ public class Mine extends AbstractGameObject {
amount = 12000000; amount = 12000000;
break; break;
} }
if(this.production.UUID == 7) if(this.production.UUID != 7)
amount *= 0.5f;
else
amount = amount / value; amount = amount / value;
return (int) amount; return (int) amount;
} }
public Boolean onExit(HashSet<AbstractWorldObject> currentPlayers){ public Boolean onExit(HashSet<AbstractWorldObject> currentPlayers){

Loading…
Cancel
Save