Browse Source

typo in ShopCommand.java

remotes/origin/shop
Max Gerbeth 2 years ago
parent
commit
8a7eb010ab
  1. 2
      src/main/java/org/bitbiome/commands/ShopCommand.java

2
src/main/java/org/bitbiome/commands/ShopCommand.java

@ -28,7 +28,7 @@ public class ShopCommand implements CommandAPI{
String input = scanner.nextLine(); String input = scanner.nextLine();
if(validInput(input)){ if(validInput(input)){
if(input.equals("1")){ if(input.equals("1")){
System.out.println("Folgende sind folgende Items im Shop: ");
System.out.println("Folgende Items sind im Shop: ");
for(int i = 0; i < currentItems.size(); i++){ for(int i = 0; i < currentItems.size(); i++){
System.out.println((i + 1) + ". " + currentItems.get(i).name + " | Anzahl: " + currentItems.get(i).amount + " | Gold: " + currentItems.get(i).gold); System.out.println((i + 1) + ". " + currentItems.get(i).name + " | Anzahl: " + currentItems.get(i).amount + " | Gold: " + currentItems.get(i).gold);
} }

Loading…
Cancel
Save