Updates version to 1.0.2

This commit is contained in:
Kristian Knarvik 2022-01-23 12:03:04 +01:00
parent 502f507d0c
commit 14cff0e421
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<groupId>net.knarcraft</groupId> <groupId>net.knarcraft</groupId>
<artifactId>PermissionSigns</artifactId> <artifactId>PermissionSigns</artifactId>
<version>1.0.1</version> <version>1.0.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>PermissionSigns</name> <name>PermissionSigns</name>

View File

@ -61,7 +61,7 @@ public class CreateCommand implements CommandExecutor {
for (String permission : permissions) { for (String permission : permissions) {
if (permission.contains(":")) { if (permission.contains(":")) {
String world = permission.split(":")[0]; String world = permission.split(":")[0];
if (!world.equalsIgnoreCase("all") && !world.equalsIgnoreCase("any") && if (!world.equalsIgnoreCase("all") && !world.equalsIgnoreCase("any") &&
Bukkit.getWorld(world) == null) { Bukkit.getWorld(world) == null) {
sender.sendMessage(StringFormatter.replacePlaceholder(StringFormatter.getTranslatedErrorMessage( sender.sendMessage(StringFormatter.replacePlaceholder(StringFormatter.getTranslatedErrorMessage(
TranslatableMessage.PERMISSION_WORLD_INVALID), "{world}", world)); TranslatableMessage.PERMISSION_WORLD_INVALID), "{world}", world));

View File

@ -27,7 +27,7 @@ public final class PermissionManager {
private static final File permissionsFile = new File(PermissionSigns.getInstance().getDataFolder(), "data.yml"); private static final File permissionsFile = new File(PermissionSigns.getInstance().getDataFolder(), "data.yml");
private PermissionManager() { private PermissionManager() {
} }
/** /**

View File

@ -1,5 +1,5 @@
name: PermissionSigns name: PermissionSigns
version: 1.0.1 version: 1.0.2
main: net.knarcraft.permissionsigns.PermissionSigns main: net.knarcraft.permissionsigns.PermissionSigns
api-version: 1.18 api-version: 1.18
prefix: PermissionSigns prefix: PermissionSigns