Whenever I try to add an item to a shop, I got an error when running.
I was trying to add AGS, for 1k just to see if I could add items properly because no point in adding lots of items for nothing.
The error:
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.NumberFormatException: For input string: "1 11694 1000"
at java.lang.NumberFormatException.forInputString(Unk nown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at server.world.ShopHandler.loadShops(ShopHandler.jav a:147)
at server.world.ShopHandler.<init>(ShopHandler.java:4 5)
at server.Server.<clinit>(Server.java:61)
Could not find the main class: server.Server. Program will exit.
Press any key to continue . . .
The Shop I tried adding it to:
Code:
shop = 7 Stall_Items 2 2 1897 1 1898 1 950 1 951 1 1635 1 1636 1 7650 1 7651 1 1613 1 1614 1 11694 1000
EDIT: Fixed, but no items appear in the shop? WTF?!
Thanks to whoever can help me.
+rep.