SteamWar/BauSystem2.0
Archiviert
12
0
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-07-30 18:08:12 +02:00
Ursprung 83e2852eed
Commit 45c29e8395

Datei anzeigen

@ -110,7 +110,7 @@ public class BauSystem extends JavaPlugin implements Listener {
private void fixBauSystem() { private void fixBauSystem() {
int number = -1; int number = -1;
try { try {
String string = new File(world.getWorldFolder(), "sections.yapion").getCanonicalPath(); String string = new File(world.getWorldFolder(), "sections.yml").getCanonicalPath();
if (string.endsWith("/sections3.yml")) number = 3; if (string.endsWith("/sections3.yml")) number = 3;
if (string.endsWith("/sections4.yml")) number = 4; if (string.endsWith("/sections4.yml")) number = 4;
} catch (IOException e) { } catch (IOException e) {