Cannot apply a resource pack already applied

Used Version

Force Resourcepacks 1.12.9

Config

debug: false
default-language: en
update-notifications: true
disable-metrics: false
autogeneratehashes: true
append-hash-to-url: true
store-joins: false
prompttimeout: 15
kickdelay: 0
usepack-is-temporary: true
stored-packs-override-assignments: false
permanent-pack-remove-time: 30
only-run-actions-after-pack-send: true
use-auth-plugin: true
empty:
 url: https://download.mc-packs.net/pack/59fff0266e1192b0acace7240805348e94bb0888.zip
 hash: da39a3ee5e6b4b0d3255bfef95601890afd80709
 uuid: 5327a0a3-b7c7-33e4-98a0-b1e7bcffaf62
global:
 pack: default
 optional-packs:
   - empty
 send-delay: 20
 required: false
 prompt-message: "&cAceita utilizar a textura do servidor?"
 actions:
   timeout:
     message: "&cVocê não aceitou utilizar a textura!"
   failed:
     message: "&cErro ao tentar baixar e instalar a textura!"
   loaded:
     message: "&aTextura do server instalada com sucesso!"
   declined:
     message: "&cVocê não aceitou utilizar a textura do server!"
servers: []
useauth: false
packs:
 default:
   restricted: false
   permission: forceresourcepacks.pack.game
   variants:
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v16.zip
       uuid: c3f9cc7c-c201-3695-be2e-91ca6d5587b7
       hash: 21bc998290fd4383b928b4cb8d1993a6f9a6e3e6
       format: 16
       restricted: false
       permission: forceresourcepacks.pack.default-variant-3
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v15.zip
       uuid: e9e643ed-36a8-36b0-b0fa-6f3ea98bc827
       hash: 84ce7b01d76a9c613ebf0a8eef7619dbd1d426ef
       format: 15
       restricted: false
       permission: forceresourcepacks.pack.default-variant-4
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v14.zip
       uuid: 23a39502-afa3-310c-aab1-42830ee8f1b7
       hash: 2f0206c37d3ff5135478c7e67320fbd225d1fb44
       format: 14
       restricted: false
       permission: forceresourcepacks.pack.default-variant-5
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v13.zip
       uuid: 8ac913b5-04b2-31a1-a290-9dc70e1973fa
       hash: ff92a13a478bb05ee4f60412916debed85ec3a24
       format: 13
       restricted: false
       permission: forceresourcepacks.pack.default-variant-6
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v12.zip
       uuid: f551d500-0ed5-320a-8f64-1bb4176e80b5
       hash: 4609a14d5dcbd412433c4105c6cc49cd4df4d88e
       format: 12
       restricted: false
       permission: forceresourcepacks.pack.default-variant-7
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v11.zip
       uuid: 7304a77c-6d63-38fd-96f9-3de8d77927f2
       hash: d2e7ac1d26ed01c44dd92b5d989c6217d8166428
       format: 11
       restricted: false
       permission: forceresourcepacks.pack.default-variant-8
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v10.zip
       uuid: 9548844c-bfbc-3664-801c-f1f05390bd57
       hash: 5696e66798b2fcd8ce66c85f8bf49d9497266e28
       format: 10
       restricted: false
       permission: forceresourcepacks.pack.default-variant-9
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v09.zip
       uuid: b3f1767e-551f-33c4-bf0c-a39b0eb65768
       hash: 7703a82da39f767909992162c00257608123e1d5
       format: 9
       restricted: false
       permission: forceresourcepacks.pack.default-variant-10
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v08.zip
       uuid: 56614eaf-b21a-3af1-a525-5492fde2685b
       hash: 93a7760996dd7e084f19b92aa45db20358daf18f
       format: 8
       restricted: false
       permission: forceresourcepacks.pack.default-variant-11
     - url: https://cdn.armamc.com/public/textura/ArmaTextura-v07.zip
       uuid: 2105037d-272b-3609-8f14-f571d773ea99
       hash: d244a4b47bf91cfeaa32795f313753e58a876a18
       format: 7
       restricted: false
       permission: forceresourcepacks.pack.default-variant-12
     - url: http://cdn.armamc.com/public/textura/ArmaTextura-v06.zip
       uuid: a8449c9e-5733-33b8-9a39-f313bbfacf8b
       hash: ae77faf0d4a7218c64ed58e770bcf5efae21011e
       format: 6
       restricted: false
       permission: forceresourcepacks.pack.default-variant-13
     - url: http://cdn.armamc.com/public/textura/ArmaTextura-v05.zip
       uuid: 8adf7041-5388-34d8-ad6c-e8ee3e7cd3bd
       hash: 4add331d12dde3633f664b61dd08295b0ef2f0d2
       format: 5
       restricted: false
       permission: forceresourcepacks.pack.default-variant-14
     - url: http://cdn.armamc.com/public/textura/ArmaTextura-v04.zip
       uuid: 514b91e9-b13a-3c96-aef8-157ce4913baf
       hash: b5039e0fabadb87d76f57f9260c3b3c32f811ad6
       format: 4
       restricted: false
       permission: forceresourcepacks.pack.default-variant-15

Environment description

Velocity 3.3.0-SNAPSHOT (git-7ca06899-b362)

Full Log

[Your log here]

What other programs/plugins are you running?

What is happening?

[03:24:18 ERROR]: Exception in task de.themoep.resourcepacksplugin.velocity.listeners.ServerSwitchListener$$Lambda$3761/0x00007f0ea4f88d58@60ee0f57 by plugin ForceResourcepacks
java.lang.IllegalStateException: Cannot apply a resource pack already applied
        at com.velocitypowered.proxy.connection.player.resourcepack.ResourcePackHandler.checkAlreadyAppliedPack(ResourcePackHandler.java:176) ~[server.jar:3.3.0-SNAPSHOT (git-7ca06899-b362)]
        at com.velocitypowered.proxy.connection.client.ConnectedPlayer.sendResourcePackOffer(ConnectedPlayer.java:1030) ~[server.jar:3.3.0-SNAPSHOT (git-7ca06899-b362)]
        at de.themoep.resourcepacksplugin.velocity.ForceResourcepacks.sendPack(ForceResourcepacks.java:250) ~[?:?]
        at de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks.lambda$sendPack$12(VelocityResourcepacks.java:594) ~[?:?]
        at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
        at de.themoep.resourcepacksplugin.velocity.VelocityResourcepacks.sendPack(VelocityResourcepacks.java:594) ~[?:?]
        at de.themoep.resourcepacksplugin.core.PackManager.sendPack(PackManager.java:865) ~[?:?]
        at de.themoep.resourcepacksplugin.core.PackManager.setPack(PackManager.java:828) ~[?:?]
        at de.themoep.resourcepacksplugin.core.PackManager.setPack(PackManager.java:768) ~[?:?]
        at de.themoep.resourcepacksplugin.core.PackManager.setPack(PackManager.java:757) ~[?:?]
        at de.themoep.resourcepacksplugin.core.PackManager.applyPack(PackManager.java:912) ~[?:?]
        at de.themoep.resourcepacksplugin.velocity.listeners.ServerSwitchListener.calculatePack(ServerSwitchListener.java:87) ~[?:?]
        at de.themoep.resourcepacksplugin.velocity.listeners.ServerSwitchListener.lambda$onServerSwitch$0(ServerSwitchListener.java:64) ~[?:?]
        at com.velocitypowered.proxy.scheduler.VelocityScheduler$VelocityTask.lambda$run$0(VelocityScheduler.java:285) ~[server.jar:3.3.0-SNAPSHOT (git-7ca06899-b362)]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.base/java.lang.Thread.run(Thread.java:840) [?:?]

What did you expect to happen?

No error

Additional context