DiscordSRV

DiscordSRV

86.8k Downloads

Paper - unlink kick error

michele478 opened this issue ยท 1 comments

commented

Expected behavior

After executing "/discord unlink" it should unlink the player and kick him off the server because "Require linked account to play" is enabled

Actual behavior

It unlinked the player but it did not kick him off and placeholders (%discordsrv_user_top_role_name%) returned null
Console error: https://pastebin.com/PchiqALa

Steps to reproduce

  1. Use paper 1.20.*
  2. /discord link
  3. /discord unlink

Server software and version

git-Paper-398 (MC: 1.20.4)

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
  • I didn't actually check any of these things

Anything else

I asked on the paper discord server if it's a paper issue but got told its DiscordSRV's issue
Paper Developer: "they incorrectly checking for folia"

  • As suggested by the pastebin logs I provided (https://pastebin.com/PchiqALa) it does look like a folia issue
  • I also tried spigot 1.20.4 and it worked fine (so it's just paper)
commented

Fixed in 2e37767