Im really struggling with running my server after packing my Item Bonuses.
For some reason it gives me a error:
Code:
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Unknown Source)
at java.nio.DirectByteBuffer.getShort(Unknown Source)
at core.framework.utils.ItemBonuses.loadItemBonuses(ItemBonuses.java:37)
at core.framework.utils.ItemBonuses.init(ItemBonuses.java:17)
at core.framework.Launcher.main(Launcher.java:94)
What am I doing wrong!?
Edit: Fixed by' Banners'.
Problem: Was missing a lot of bonus files. Also had an EMPTY file that was labeled with an id of 0.