Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Check for worldguard bypass permissions
Dieser Commit ist enthalten in:
Ursprung
971ae04020
Commit
95ecb5609d
@ -140,6 +140,10 @@ public class WorldGuardFeature extends BukkitMaskManager implements Listener {
|
|||||||
return true;
|
return true;
|
||||||
} else if (region.isOwner("*")) {
|
} else if (region.isOwner("*")) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (localplayer.hasPermission("worldguard.region.bypass")
|
||||||
|
|| localplayer.hasPermission("worldguard.region.bypass."
|
||||||
|
+ localplayer.getWorld().getName().toLowerCase(Locale.ROOT))) {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check if the player has the FAWE permission for editing in WG regions as member, then checking member status.
|
//Check if the player has the FAWE permission for editing in WG regions as member, then checking member status.
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren