From 82f640d13286bfa02d335cfb2b2774e050374101 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 31 Dec 2020 17:45:07 +0000 Subject: [PATCH] fix loading Fawe.properties --- worldedit-core/src/main/java/com/boydti/fawe/Fawe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java b/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java index dab5fc305..41104b552 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java @@ -235,8 +235,8 @@ public class Fawe { // Setting up config.yml File file = new File(this.implementation.getDirectory(), "config.yml"); Settings.IMP.PLATFORM = implementation.getPlatform().replace("\"", ""); - try (InputStream stream = getClass().getResourceAsStream(File.separator + "fawe.properties"); - BufferedReader br = new BufferedReader(new InputStreamReader(stream))) { + try (InputStream stream = getClass().getResourceAsStream("/fawe.properties"); + BufferedReader br = new BufferedReader(new InputStreamReader(stream))) { String versionString = br.readLine(); String commitString = br.readLine(); String dateString = br.readLine();