craftycorvid / ImprovedSigns

Improvements for your signs and frames on your Fabric/Quilt server
MIT License
11 stars 4 forks source link

feat: add edit sign permission #23

Closed Jarva closed 2 years ago

Jarva commented 2 years ago

Apologies for sending so many PRs. I was adding Flan support to another mod and realized I can register permission nodes inside Flan using their API. This adds a bespoke permission node for editing signs that can be configured by Flan users.

Additionally because we handle passthrough interaction, we need to check permissions for that block too, unfortunately the Flan methods to do that don't support everything, so we do some manual checks too.

craftycorvid commented 2 years ago

No need to apologize. Thanks so much for the contributions!