@Su37Erich, about ArrayIndexOutOfBoundsException, are you sure you are using the last version of shoebill plugin? Because I dont have any problems with skins. Show us a code where you are setting a skin for a player.
New issue:
It's about PlayerAttach. After player edits an attached object, the Offset, Rotation and Scale of that object remain the same (the values are equals to which were set by method set(...) of PlayerAttachSlot class).
Code example:
PHP Code:
// attaching
PlayerAttach.PlayerAttachSlot slot = player.getAttach().getSlot(0)
slot.set(PlayerAttachBone.SPINE, new Vector3D(), new Vector3D(), new Vector3D(1, 1, 1), 0 ,0);
// Now, slot.getOffset() = { 0,0,0 }, slot.getRotation() = { 0,0,0 }, slot.getScale() = { 1,1,1 }
// Then, make a player to edit the attached object
slot.edit();
// After editing (when the player press save button), values of Offset, Ration and Scale are not changed:
// slot.getOffset() = { 0,0,0 }, slot.getRotation() = { 0,0,0 }, slot.getScale() = { 1,1,1 }
I tried to get those values in PlayerEditAttachedObjectEvent and just by typing a command - nothing was changed.
If it's not an issue, then I would like to know a way how to get coordinates of a new position.