Browse Source

refactoring: itemRotation()

remotes/origin/shop
Max Gerbeth 2 years ago
parent
commit
20ba24d5c9
  1. 8
      src/main/java/org/bitbiome/shop/Shop.java

8
src/main/java/org/bitbiome/shop/Shop.java

@ -208,8 +208,12 @@ public class Shop {
return arrayList; return arrayList;
} }
public void itemRotation() throws IOException {
currentShopItems = loadPartofItems(allItems, 3);
public void itemRotation() {
try {
currentShopItems = loadPartofItems(allItems, 3);
}catch (Exception e){
e.printStackTrace();
}
} }
public void printCurrentShopItems(){ public void printCurrentShopItems(){

Loading…
Cancel
Save