mirror of
https://github.com/YouHaveTrouble/PreventStabby.git
synced 2026-05-11 21:06:55 +00:00
remove debug 2 electric boogaloo
This commit is contained in:
@@ -27,14 +27,10 @@ public class WorldGuardHook {
|
|||||||
PreventStabby plugin = PreventStabby.getPlugin();
|
PreventStabby plugin = PreventStabby.getPlugin();
|
||||||
try {
|
try {
|
||||||
Class.forName("com.sk89q.worldguard.protection.flags.registry.FlagConflictException");
|
Class.forName("com.sk89q.worldguard.protection.flags.registry.FlagConflictException");
|
||||||
System.out.println("what");
|
|
||||||
worldGuardPlugin = WorldGuardPlugin.inst();
|
worldGuardPlugin = WorldGuardPlugin.inst();
|
||||||
System.out.println("the");
|
|
||||||
if (WorldGuard.getInstance() == null || worldGuardPlugin == null) return;
|
if (WorldGuard.getInstance() == null || worldGuardPlugin == null) return;
|
||||||
System.out.println("actual");
|
|
||||||
plugin.getLogger().info("Hooking into WorldGuard");
|
plugin.getLogger().info("Hooking into WorldGuard");
|
||||||
flagRegistry = WorldGuard.getInstance().getFlagRegistry();
|
flagRegistry = WorldGuard.getInstance().getFlagRegistry();
|
||||||
System.out.println("fuck");
|
|
||||||
createForcePvpFlag(plugin);
|
createForcePvpFlag(plugin);
|
||||||
} catch (NoClassDefFoundError | ClassNotFoundException e) {
|
} catch (NoClassDefFoundError | ClassNotFoundException e) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user