Skip to content

Commit

Permalink
Handle mapping exception
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Sep 30, 2023
1 parent 44eaf23 commit c47db40
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/checks/checks.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ const checksConfig: ChecksConfig = {
'Your plugin may be loading before SkinsRestorer. To load your plugin after SkinsRestorer, add `softdepend: [ "SkinsRestorer" ]` to your plugin.yml file.'
],
link: 'https://skinsrestorer.net/docs/development/api#add-skinsrestorer-as-a-dependency'
},
{
checks: [/NoMappingException/g],
title: 'Missing mapping in SkinsRestorer',
content: 'This error occurs when the current build does not support the current Minecraft version. Every new version of Minecraft requires a new mapping to be added to SkinsRestorer because of Spigot\'s obfuscation.',
tips: [
"Check announcements for updates for new versions of SkinsRestorer. If there is no update, please be patient.",
'If PaperMC has released a new version, try switching from Spigot to Paper. We recommend PaperMC over Spigot because we don\'t use mappings for Paper.'
],
}
]
}
Expand Down

0 comments on commit c47db40

Please sign in to comment.