geforkt von Mirrors/FastAsyncWorldEdit
fix loading Fawe.properties
Dieser Commit ist enthalten in:
Ursprung
59c227b49a
Commit
82f640d132
@ -235,8 +235,8 @@ public class Fawe {
|
|||||||
// Setting up config.yml
|
// Setting up config.yml
|
||||||
File file = new File(this.implementation.getDirectory(), "config.yml");
|
File file = new File(this.implementation.getDirectory(), "config.yml");
|
||||||
Settings.IMP.PLATFORM = implementation.getPlatform().replace("\"", "");
|
Settings.IMP.PLATFORM = implementation.getPlatform().replace("\"", "");
|
||||||
try (InputStream stream = getClass().getResourceAsStream(File.separator + "fawe.properties");
|
try (InputStream stream = getClass().getResourceAsStream("/fawe.properties");
|
||||||
BufferedReader br = new BufferedReader(new InputStreamReader(stream))) {
|
BufferedReader br = new BufferedReader(new InputStreamReader(stream))) {
|
||||||
String versionString = br.readLine();
|
String versionString = br.readLine();
|
||||||
String commitString = br.readLine();
|
String commitString = br.readLine();
|
||||||
String dateString = br.readLine();
|
String dateString = br.readLine();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren