Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jun 5, 2024
1 parent 463405f commit 4611b95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final void setCoinAmount(String coinName, int amount) throws LuaException
}

@LuaFunction(mainThread = true)
public final void setTotalPrice(int spurAmount){
public final void setTotalPrice(int spurAmount) {
List<Map.Entry<Coin, Integer>> coins = getCoinsFromSpurAmount(spurAmount);
for (Map.Entry<Coin, Integer> coin : coins) {
blockEntity.setPrice(coin.getKey(), coin.getValue());
Expand All @@ -53,7 +53,7 @@ public final void setTotalPrice(int spurAmount){
}

@LuaFunction
public final int getTotalPrice(){
public final int getTotalPrice() {
return blockEntity.getTotalPrice();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final void setCoinAmount(String coinName, int amount) throws LuaException
}

@LuaFunction(mainThread = true)
public final void setTotalPrice(int spurAmount){
public final void setTotalPrice(int spurAmount) {
List<Map.Entry<Coin, Integer>> coins = getCoinsFromSpurAmount(spurAmount);
for (Map.Entry<Coin, Integer> coin : coins) {
blockEntity.setPrice(coin.getKey(), coin.getValue());
Expand All @@ -53,7 +53,7 @@ public final void setTotalPrice(int spurAmount){
}

@LuaFunction
public final int getTotalPrice(){
public final int getTotalPrice() {
return blockEntity.getTotalPrice();
}

Expand Down

0 comments on commit 4611b95

Please sign in to comment.