Formatting

This commit is contained in:
stjn 2021-11-10 15:08:54 +01:00
parent c9987795bc
commit 47405bdcb7
2 changed files with 5 additions and 7 deletions

View File

@ -36,8 +36,7 @@ public class BuyGUI extends GUIMerchant {
} }
} }
private void buy(VillagerType villagerType, Player player, Material material, int amount, Price price) private void buy(VillagerType villagerType, Player player, Material material, int amount, Price price) {
{
Economy econ = VillagerUI.getEcon(); Economy econ = VillagerUI.getEcon();
double balance = econ.getBalance(player); double balance = econ.getBalance(player);
double cost = price.getPrice(amount); double cost = price.getPrice(amount);

View File

@ -35,8 +35,7 @@ public class SellGUI extends GUIMerchant {
} }
} }
private void sell(VillagerType villagerType, Player player, Material material, int amount, Price price) private void sell(VillagerType villagerType, Player player, Material material, int amount, Price price) {
{
Economy econ = VillagerUI.getEcon(); Economy econ = VillagerUI.getEcon();
double cost = price.getPrice(amount); double cost = price.getPrice(amount);