prepare for finishing rebranding

This commit is contained in:
YouHaveTrouble
2022-01-26 14:41:12 +01:00
parent 1e7adf398a
commit 9a9a44939a
8 changed files with 12 additions and 22 deletions
@@ -24,7 +24,7 @@ public class WorldGuardHook {
public static void init() {
PreventStabby plugin = PreventStabby.getPlugin();
try {
Class.forName("com.sk89q.worldguard.protection.flags.registry.FlagConflictException");
Class.forName("com.sk89q.worldguard.protection.flags.registry.FlagRegistry");
WorldGuardPlugin worldGuardPlugin = WorldGuardPlugin.inst();
if (WorldGuard.getInstance() == null || worldGuardPlugin == null) return;
plugin.getLogger().info("Hooking into WorldGuard");