I code currently a minecraft java plugin which loads a texturepack but I have a problem. When you decline the download of the texturepack, it will never ask again for downloading or accepting and I never got a error.
I used this code:
player.setResourcepack("<url>");
and it showed one time so it does work but never ask again if I decline it. Please help.