Updates version to 1.0.2
This commit is contained in:
parent
502f507d0c
commit
14cff0e421
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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));
|
||||||
|
@ -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() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user