From e8a768f7c8e9556b17ff6bd2ab126e33608faaa9 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 29 Aug 2019 15:52:08 +0200 Subject: [PATCH] Fix issue on startup and update outdated links --- README.md | 2 +- worldedit-core/src/main/java/com/boydti/fawe/FaweVersion.java | 4 ++-- .../java/com/sk89q/worldedit/command/WorldEditCommands.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 60ee346f6..950cd142a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ FAWE is a fork of WorldEdit that has huge speed and memory improvements and cons * [Spigot Page](https://www.spigotmc.org/threads/fast-async-worldedit.100104/) * [Discord](https://discord.gg/ngZCzbU) -* [Wiki](https://github.com/boy0001/FastAsyncWorldedit/wiki) +* [Wiki](https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13/wiki) * [Report Issue](https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13/issues) ## Downloads diff --git a/worldedit-core/src/main/java/com/boydti/fawe/FaweVersion.java b/worldedit-core/src/main/java/com/boydti/fawe/FaweVersion.java index 2fd3d242f..92313bee7 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/FaweVersion.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/FaweVersion.java @@ -12,8 +12,8 @@ public class FaweVersion { } public FaweVersion(String version, String commit, String date) { - String[] split = version.substring(version.indexOf('=') + 1).split("\\."); - this.build = Integer.parseInt(split[2]); + String[] split = version.substring(version.indexOf('=') + 1).split("-"); + this.build = Integer.parseInt(split[1]); this.hash = Integer.parseInt(commit.substring(commit.indexOf('=') + 1), 16); String[] split1 = date.substring(date.indexOf('=') + 1).split("\\."); this.year = Integer.parseInt(split1[0]); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java index 1c72a8477..030d22109 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java @@ -108,7 +108,7 @@ public class WorldEditCommands { } } actor.printDebug(""); - actor.printDebug("Wiki: " + "https://github.com/boy0001/FastAsyncWorldedit/wiki"); + actor.printDebug("Wiki: " + "https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13/wiki"); } @Command(