Skip to content

Commit

Permalink
changed files from pull request #47
Browse files Browse the repository at this point in the history
  • Loading branch information
tim03we committed Nov 26, 2022
1 parent 30873f6 commit 4d02fff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/tim03we/futureplots/FuturePlots.java
Expand Up @@ -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.");
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/commands.yml
@@ -1,5 +1,5 @@
---
version: "1.1.0"
version: "1.1.1"

plot:
parameters:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -145,6 +145,6 @@ plot:
name: "teleport"
usage: "/plot tp <player> [number] [world]"
description: "Teleports to a plot, claimed by the specified player."
alias: ["tp"]
alias: ["tp", "visit"]
enable: true
...

0 comments on commit 4d02fff

Please sign in to comment.