public static void registerPermissions() { for (TypeBase type : map.values()) { PermissionsHandler.register(type.getPermissionNodes()); } }