Skip to content

Commit

Permalink
Update src/main/java/com/iridium/iridiumskyblock/managers/SchematicMa…
Browse files Browse the repository at this point in the history
…nager.java

Co-authored-by: Peaches_MLG <[email protected]>
  • Loading branch information
sh0inx and PeachesMLG authored Oct 9, 2023
1 parent d7c0401 commit 1acef2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ public boolean processTransaction(Player player, Schematics.SchematicConfig sche

for (String schematicBankItem : schematic.regenCost.bankItems.keySet()) {

bank = IridiumSkyblock.getInstance().getTeamManager().getTeamBank(island.get(), schematicBankItem);
bankBalance = bank.getNumber();
TeamBank bank = IridiumSkyblock.getInstance().getTeamManager().getTeamBank(island.get(), schematicBankItem);
double bankBalance = bank.getNumber();

double cost = round(schematic.regenCost.bankItems.get(schematicBankItem), 2);

Expand Down

0 comments on commit 1acef2f

Please sign in to comment.