Permissions:
- Changed permissions class to an enum
- started using some permissions for EventUtil
Events:
- fixed armor stands being placed outside allowed area
- fixed item frames and paintings being placeable outside allowed area
- fixed eating and reading being restricted where it shouldn't
- Added various new flags for fine tuned protection
- Recoded the result of multiple flags to be more logical
- recoded player interact event
- fixed ender dragon egg teleportation onto other plots
- tried centralizing some logic to the EventUtil class
PlotAPI:
- minor tweaks to the PlotAPI class
PlotSquared updater:
- removed some debug
- testing a bit more
Chunk sending:
- fixed plot clearing, and related block changes not sending chunk
updates to 1.7.10 clients
TODO:
- verify all works
- finish centralizing event system
With the setOp thing, it's all on the main thread and the op is taken
away immediately afterwards so there is no possibility of them using the
elevated permission for anything other than worldguard. I even had a
finally clause.
What you have done, although it may not seem too dangerous, it still
gives players the opportunity to use their elevated permissions.