diff --git a/src/main/java/com/graywolf336/jail/JailMain.java b/src/main/java/com/graywolf336/jail/JailMain.java index ae6eb93..2b6957a 100644 --- a/src/main/java/com/graywolf336/jail/JailMain.java +++ b/src/main/java/com/graywolf336/jail/JailMain.java @@ -64,6 +64,7 @@ public class JailMain extends JavaPlugin { pm = null; jm = null; io = null; + hcm = null; } private void loadConfig() { diff --git a/src/test/java/test/java/com/graywolf336/jail/TestJailStuff.java b/src/test/java/test/java/com/graywolf336/jail/TestJailStuff.java index 8f99b20..585fc02 100644 --- a/src/test/java/test/java/com/graywolf336/jail/TestJailStuff.java +++ b/src/test/java/test/java/com/graywolf336/jail/TestJailStuff.java @@ -35,6 +35,7 @@ public class TestJailStuff { @Test public void testForJails() { + assertNotNull("The HandCuffManager is null.", main.getHandCuffManager()); assertNotNull("The JailIO is null.", main.getJailIO()); assertNotNull("The JailManager is null.", main.getJailManager()); assertNotNull("The HashSet for jails return is null.", main.getJailManager().getJails());