
Advancement not granting
InstSnipe opened this issue ยท 1 comments
I run a fabric 1.20.1 server, and the advancement event isn't working (using a custom advancement from a datapack)
{
"player_join": {
"requires": [
"linked_account"
],
"actions": [
{
"id": "grant_role",
"value": {
"user": "%linked_account:id%",
"role": "1182740657073311885"
}
}
]
},
"advancement": {
"requires": [
"linked_account",
"advancement_name('draft:specialgrade')"
],
"actions": [
{
"id": "grant_role",
"value": {
"user": "%linked_account:id%",
"role": "1182019814697484308"
}
}
]
},
"player_leave": {
"requires": [
"linked_account"
],
"actions": [
{
"id": "revoke_role",
"value": {
"user": "%linked_account:id%",
"role": "1182740657073311885"
}
}
]
}
}
when advancement is granted or earned, role does not give in discord
(the discord bot's role is the highest and has administrator, role id is taken straight from the discord)