Update for the TFM staff refactor

and i swear to god if the author comments on this commit, he's gonna get banned from the repo
This commit is contained in:
Telesphoreo 2020-08-15 20:41:13 -05:00
parent d946737e90
commit 9abae74da3
2 changed files with 7 additions and 3 deletions

View file

@ -26,6 +26,10 @@
<id>essentialsx-repo</id> <id>essentialsx-repo</id>
<url>https://ci.ender.zone/plugin/repository/everything/</url> <url>https://ci.ender.zone/plugin/repository/everything/</url>
</repository> </repository>
<repository>
<id>telesphoreo-repo</id>
<url>https://telesphoreo.me/repo/maven</url>
</repository>
</repositories> </repositories>
<dependencies> <dependencies>
@ -66,9 +70,9 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.TFPatches</groupId> <groupId>me.totalfreedom</groupId>
<artifactId>TotalFreedomMod</artifactId> <artifactId>TotalFreedomMod</artifactId>
<version>server-SNAPSHOT</version> <version>2020.9</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View file

@ -45,7 +45,7 @@ public class WorldGuardUtils
} }
// Fuck your shitty permission system - packs // Fuck your shitty permission system - packs
return TotalFreedomMod.plugin().al.isAdmin(player); return TotalFreedomMod.plugin().sl.isStaff(player);
} }
public static State queryState(Player player, World world, Set<ProtectedRegion> regions, StateFlag flag) public static State queryState(Player player, World world, Set<ProtectedRegion> regions, StateFlag flag)