v0.3.3 didnt work for mc version 1.21.1
the server would crash everytime i tried to join into the server with this api on mc version 1.21.1 can you fix it or make v0.3.1 to be label as 1.21.1 on modrith i heard it works fine on ver 1.21.1 but i couldnt try it since it wasnt an option on my server modlist thanks
I got the same issue.
https://github.com/lucko/fabric-permissions-api/blob/9d9c79fbf7ebecd4357f7d2ec6b5647e5d79191b/src/main/java/me/lucko/fabric/api/permissions/v0/Util.java#L36
In this method, ServerPlayerEntity#getCommandSource() and Entity#getCommandSource(ServerWorld) was added in 1.21.2, but in 1.21.1 it is Entity#getCommandSource(). We can pass our ServerCommandSource into Permissions#check`, but the FPAPI should publish a version for 1.21.1 also.
This also leads to incompatibilities in https://github.com/MiraculixxT/Veinminer/issues/29
I've updated on modrinth, thanks