Mirror von
https://github.com/St3venAU/ArmorStandTools.git
synchronisiert 2024-12-28 04:20:08 +01:00
Stop checking for worldguard when both towny and worldguard are on the server
Dieser Commit ist enthalten in:
Ursprung
522443737a
Commit
8860434d19
@ -256,7 +256,7 @@ public class Main extends JavaPlugin {
|
||||
return PlotSquaredHook.checkPermission(p, l);
|
||||
}
|
||||
}
|
||||
if (Config.worldGuardPlugin != null) {
|
||||
if (Config.worldGuardPlugin != null && TownyAPI.getInstance() == null) {
|
||||
|
||||
if (!Utils.hasPermissionNode(p, "astools.bypass-wg-flag") && !getWorldGuardAstFlag(b.getLocation())) {
|
||||
return false;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren