Ok so I am getting this error with loading shops when I run my server
Code:
[00:00:01]: java.lang.ArrayIndexOutOfBoundsException: 31
[00:00:01]: java.lang.NullPointerException
[00:00:01]: at com.rs2.GameEngine$1.execute(GameEngine.java:198)
[00:00:01]: at com.rs2.eventmanager.EventContainer.execute(EventContainer.ja
va:95)
[00:00:01]: at com.rs2.eventmanager.EventManager.run(EventManager.java:128)
[00:00:01]: at java.lang.Thread.run(Unknown Source)
GameEngine line 198 -
Code:
shopManager.process();
shopManager.process() -
Code:
public void process() {
for (Map.Entry<Integer, Shop> entry : shops.entrySet()) {
entry.getValue().process();
}
}
So basicly I have checked for spaces in my shops.cfg and theres is NONE and I cant find any help on google,
thanks in advance