Bump paperlib, fix single worlds.

This commit is contained in:
dordsor21
2020-11-26 16:54:38 +00:00
parent 585111ca38
commit ee7f683b76
3 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@ public class BukkitWorldManager implements PlatformWorldManager<World> {
}
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();