Fixed a crash that would occur when using newer versions of SkinsRestorer.
Verified compatibility with Minecraft 1.17.1 — this likely still works fine on 1.18 as well, I'm just waiting for things to stabilise before properly testing and declaring compatibility.