Add EntityFeature to StructureConfig.

This commit is contained in:
dfsek
2020-11-04 20:40:58 -07:00
parent e82e8cb17d
commit d0891a0f95
16 changed files with 268 additions and 23 deletions

View File

@@ -132,11 +132,9 @@ public class TerraChunkGenerator extends GaeaChunkGenerator {
private void load(World w) {
try {
popMan.loadBlocks(w);
} catch(IOException e) {
if(e instanceof FileNotFoundException) {
LangUtil.log("warning.no-population", Level.WARNING);
} else e.printStackTrace();
} catch(ClassNotFoundException e) {
} catch(FileNotFoundException e) {
LangUtil.log("warning.no-population", Level.WARNING);
} catch(IOException | ClassNotFoundException e) {
e.printStackTrace();
}
popMap.put(w, popMan);