From 53f5802f8834809f2e28741717a288595521eb7d Mon Sep 17 00:00:00 2001 From: Sekwah Date: Mon, 18 Nov 2024 05:26:17 +0000 Subject: [PATCH] chore: change to pass validation --- .../advancedportals/spigot/PermissionsGeneratorSpigot.java | 1 + spigot/src/main/templates/plugin.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spigot/src/main/java/com/sekwah/advancedportals/spigot/PermissionsGeneratorSpigot.java b/spigot/src/main/java/com/sekwah/advancedportals/spigot/PermissionsGeneratorSpigot.java index 77d7a8ae..627f616e 100644 --- a/spigot/src/main/java/com/sekwah/advancedportals/spigot/PermissionsGeneratorSpigot.java +++ b/spigot/src/main/java/com/sekwah/advancedportals/spigot/PermissionsGeneratorSpigot.java @@ -13,6 +13,7 @@ public class PermissionsGeneratorSpigot { public static String toPermBlock(PermissionBuilder permission) { StringBuilder builder = new StringBuilder(); + builder.append("\n"); String indent = " "; if (!permission.isDoNotExport()) { builder.append(indent).append(permission).append(":\n"); diff --git a/spigot/src/main/templates/plugin.yml b/spigot/src/main/templates/plugin.yml index 38e4d28f..afad8ada 100644 --- a/spigot/src/main/templates/plugin.yml +++ b/spigot/src/main/templates/plugin.yml @@ -13,5 +13,4 @@ commands: description: Can be used to access portal destinations. aliases: [desti] usage: / -permissions: -${permissions} +permissions: ${permissions}