Changelogs:
+ added
Code (Text):
String[] getSkinData();
+ added
Code (Text):
void refreshPlayerSync();
* fixed a bug that caused by Metrics
refreshPlayerSync is a synchronous call of refreshPlayer which is by default asynchronously. If you want to change your skin, do not use this method. Otherwise your server will freeze until he gets the answer from the mojang servers.
This method has been added because for implementing features on PlayerLoginEvent which is required to be sync.
Suggestions here:
https://haoshoku.xyz/go/discord