Formatting
This commit is contained in:
parent
c9987795bc
commit
47405bdcb7
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user