Skip to content

Commit

Permalink
Update FindProducer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Jul 6, 2024
1 parent f2e13bc commit 66e16ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public String onCommand(Guild guild, IMessageIO channel, User author, DBNation m
Map<Integer, JavaCity> cities = Locutus.imp().getNationDB().toJavaCity(v3Cities);

Arrays.fill(profitBuffer, 0);
double[] profit = nation.getRevenue();
double[] profit = nation.getRevenue(12, true, militaryUpkeep, tradeBonus, newNationBonus, false, false, nation.getTreasureBonusPct(), false);
double value;
if (types.size() == 1) {
value = profit[types.iterator().next().ordinal()];
Expand Down

0 comments on commit 66e16ee

Please sign in to comment.