Fix BauSystem
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
83e2852eed
Commit
45c29e8395
@ -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) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren