mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 09:16:34 +00:00
fix typo
This commit is contained in:
@@ -38,7 +38,8 @@ public class TerraWorld {
|
||||
String partName = template.getGrids().get(i);
|
||||
try {
|
||||
BiomeGridBuilder g = config.getBiomeGrid(partName);
|
||||
definedGrids[i] = g.build(w, worldConfig);
|
||||
BiomeGrid b = g.build(w, worldConfig);
|
||||
definedGrids[i] = b;
|
||||
} catch(NullPointerException e) {
|
||||
safe = false;
|
||||
Debug.stack(e);
|
||||
@@ -53,7 +54,8 @@ public class TerraWorld {
|
||||
if(template.isErode()) {
|
||||
try {
|
||||
BiomeGridBuilder g = Objects.requireNonNull(config.getBiomeGrid(erosionName));
|
||||
erosion = g.build(w, worldConfig);
|
||||
BiomeGrid b = g.build(w, worldConfig);
|
||||
erosion = b;
|
||||
} catch(NullPointerException e) {
|
||||
safe = false;
|
||||
Debug.stack(e);
|
||||
|
||||
Reference in New Issue
Block a user