From 14cff0e421159d47cfa90c673d2972daa1a268ee Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sun, 23 Jan 2022 12:03:04 +0100 Subject: [PATCH] Updates version to 1.0.2 --- pom.xml | 2 +- .../net/knarcraft/permissionsigns/command/CreateCommand.java | 2 +- .../knarcraft/permissionsigns/manager/PermissionManager.java | 2 +- src/main/resources/plugin.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 4e7c1e9..d41e244 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.knarcraft PermissionSigns - 1.0.1 + 1.0.2 jar PermissionSigns diff --git a/src/main/java/net/knarcraft/permissionsigns/command/CreateCommand.java b/src/main/java/net/knarcraft/permissionsigns/command/CreateCommand.java index cc1db6b..f8f712d 100644 --- a/src/main/java/net/knarcraft/permissionsigns/command/CreateCommand.java +++ b/src/main/java/net/knarcraft/permissionsigns/command/CreateCommand.java @@ -61,7 +61,7 @@ public class CreateCommand implements CommandExecutor { for (String permission : permissions) { if (permission.contains(":")) { String world = permission.split(":")[0]; - if (!world.equalsIgnoreCase("all") && !world.equalsIgnoreCase("any") && + if (!world.equalsIgnoreCase("all") && !world.equalsIgnoreCase("any") && Bukkit.getWorld(world) == null) { sender.sendMessage(StringFormatter.replacePlaceholder(StringFormatter.getTranslatedErrorMessage( TranslatableMessage.PERMISSION_WORLD_INVALID), "{world}", world)); diff --git a/src/main/java/net/knarcraft/permissionsigns/manager/PermissionManager.java b/src/main/java/net/knarcraft/permissionsigns/manager/PermissionManager.java index 26a4a45..5c4388e 100644 --- a/src/main/java/net/knarcraft/permissionsigns/manager/PermissionManager.java +++ b/src/main/java/net/knarcraft/permissionsigns/manager/PermissionManager.java @@ -27,7 +27,7 @@ public final class PermissionManager { private static final File permissionsFile = new File(PermissionSigns.getInstance().getDataFolder(), "data.yml"); private PermissionManager() { - + } /** diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8eaf6ef..96bf5a9 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: PermissionSigns -version: 1.0.1 +version: 1.0.2 main: net.knarcraft.permissionsigns.PermissionSigns api-version: 1.18 prefix: PermissionSigns