How can I send a packet to remove and add the Player?
public class SkinChanger {
public static void setSkin(Player player) {
GameProfile profile = ((CraftPlayer)player).getHandle().getGameProfile();
ServerPlayerConnection connection = ((CraftPlayer)player).getHandle().connection;
// REMOVE_PLAYER
profile.getProperties().removeAll("textures");
profile.getProperties().put("textures", getSkin());
// ADD_PLAYER
}

