mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
fix: Standardize projectile permissions (#3374)
* fix: Standardize projectile permissions - Let all projectiles (not just splash potions) have a permissions check on throwing - Fixes snowballs, eggs, etc. being able to be thrown when not added to the plot, etc. - Fixes #2986 (splash potions only able being to be thrown when also added to the plot) - Remove the specialized code for egg hatching as now eggs are cancelled entirely - Remove the non-standard plots.projectile.unowned and plots.projectile.other permissions in favor of the standard admin ones * docs: Add back deprecated projectile permissions * docs: Update Core/src/main/java/com/plotsquared/core/permissions/Permission.java Co-authored-by: Alex <mc.cache@web.de> Co-authored-by: Alex <mc.cache@web.de>
This commit is contained in:
@ -37,7 +37,9 @@ public enum Permission {
|
||||
PERMISSION_STAR("*"),
|
||||
PERMISSION_ADMIN("plots.admin"),
|
||||
PERMISSION_ADMIN_AREA_SUDO("plots.admin.area.sudo"),
|
||||
@Deprecated(forRemoval = true, since = "6.3.0")
|
||||
PERMISSION_PROJECTILE_UNOWNED("plots.projectile.unowned"),
|
||||
@Deprecated(forRemoval = true, since = "6.3.0")
|
||||
PERMISSION_PROJECTILE_OTHER("plots.projectile.other"),
|
||||
PERMISSION_ADMIN_INTERACT_BLOCKED_CMDS("plots.admin.interact.blockedcommands"),
|
||||
PERMISSION_WORLDEDIT_BYPASS("plots.worldedit.bypass"),
|
||||
|
Reference in New Issue
Block a user