So I added Penor's 641 items from the snippet section, and here is problem:
Although, all of my shops and shit happen to open perfectly as normal, but now whenever i try to open my bank it freezes. Here is the error in the CMD:
Code:
Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException: -1
at ItemDef.forID(ItemDef.java:172)
at ItemDef.toLend(ItemDef.java:331)
at ItemDef.forID(ItemDef.java:179)
at ItemDef.getSprite(ItemDef.java:365)
at client.drawInterface(client.java:9253)
at client.drawInterface(client.java:9231)
at client.draw3dScreen(client.java:9946)
at client.method146(client.java:13639)
at client.drawGameScreen(client.java:9044)
at client.processDrawing(client.java:9880)
at RSApplet.run(RSApplet.java:108)
at client.run(client.java:5579)
at java.lang.Thread.run(Thread.java:619)
Any ideas?