Merge branch 'v5' into v6

This commit is contained in:
dordsor21
2020-12-10 21:28:28 +00:00
3 changed files with 32 additions and 14 deletions

View File

@ -63,7 +63,7 @@ import java.util.List;
}
protected void setGenerator(@Nullable final String worldName, @Nullable final String generator) {
if (generator == null) {
if (generator == null || worldName != null && worldName.contains(".")) {
return;
}
File file = new File("bukkit.yml").getAbsoluteFile();