Don't attempt to use EntityType's that are null
This commit is contained in:
		| @@ -150,6 +150,9 @@ public class LibsDisguises extends JavaPlugin { | ||||
|      */ | ||||
|     private void registerValues() { | ||||
|         for (DisguiseType disguiseType : DisguiseType.values()) { | ||||
|             if (disguiseType.getEntityType() == null) { | ||||
|                 continue; | ||||
|             } | ||||
|             Class watcherClass = null; | ||||
|             try { | ||||
|                 switch (disguiseType) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user