Various changes

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
This commit is contained in:
boy0001
2015-07-10 00:20:19 +10:00
parent 8ee90263bb
commit 3a1577469b
54 changed files with 853 additions and 353 deletions

3
.gitignore vendored
View File

@ -100,4 +100,5 @@ hs_err_pid*
/target
/plotsquared/target
*.MF
PlotSquared/schematic.zip
PlotSquared/schematic.zip
*.bat