From 4d02fffebe2643c0bcaa636fd840daf769a05260 Mon Sep 17 00:00:00 2001 From: tim03we Date: Sat, 26 Nov 2022 21:21:38 +0100 Subject: [PATCH] changed files from pull request #47 --- src/main/java/tim03we/futureplots/FuturePlots.java | 2 +- src/main/resources/commands.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/tim03we/futureplots/FuturePlots.java b/src/main/java/tim03we/futureplots/FuturePlots.java index aa04e42..58993e0 100644 --- a/src/main/java/tim03we/futureplots/FuturePlots.java +++ b/src/main/java/tim03we/futureplots/FuturePlots.java @@ -158,7 +158,7 @@ private void checkVersion() { } } getLogger().info("Check commands.yml version.."); - if(!cmds.getString("version").equals("1.1.0")) { + if(!cmds.getString("version").equals("1.1.1")) { new File(getDataFolder() + "/commands_old.yml").delete(); if(new File(getDataFolder() + "/commands.yml").renameTo(new File(getDataFolder() + "/commands_old.yml"))) { getLogger().critical("The version of the commands file does not match. You will find the old file marked \"commands_old.yml\" in the same directory."); diff --git a/src/main/resources/commands.yml b/src/main/resources/commands.yml index 46c6c69..1312acb 100644 --- a/src/main/resources/commands.yml +++ b/src/main/resources/commands.yml @@ -1,5 +1,5 @@ --- -version: "1.1.0" +version: "1.1.1" plot: parameters: @@ -73,7 +73,7 @@ plot: name: "home" usage: "/plot home [number] [world]" description: "Go to your plots" - alias: ["h", "visit"] + alias: ["h"] enable: true homes: name: "homes" @@ -145,6 +145,6 @@ plot: name: "teleport" usage: "/plot tp [number] [world]" description: "Teleports to a plot, claimed by the specified player." - alias: ["tp"] + alias: ["tp", "visit"] enable: true ... \ No newline at end of file