diff --git a/src/main/kotlin/net/taehui/twilight/system/PlatformSystem.kt b/src/main/kotlin/net/taehui/twilight/system/PlatformSystem.kt index 279ec0c..544f9fc 100644 --- a/src/main/kotlin/net/taehui/twilight/system/PlatformSystem.kt +++ b/src/main/kotlin/net/taehui/twilight/system/PlatformSystem.kt @@ -137,7 +137,7 @@ when (event.name) { "role" -> { val platformID = event.id - if (PlatformIDSystem.hasAvatarID(platformID)) { + if (PlatformIDSystem.hasAvatarID("$$platformID")) { val abilityName = DB.getMaxAbilityName( PlatformIDSystem.getAvatarID(platformID) )