More cleanup

This commit is contained in:
Anuken
2020-03-31 19:39:14 -04:00
parent 77447c59f6
commit 19239a6890
8 changed files with 44 additions and 81 deletions

View File

@@ -60,7 +60,6 @@ public class FileMapGenerator implements WorldGenerator{
throw new IllegalArgumentException("All zone maps must have a core.");
}
world.prepareTiles(tiles);
state.map = map;
}
}

View File

@@ -59,7 +59,9 @@ public class TODOPlanetGenerator extends PlanetGenerator{
public Color getColor(Vec3 position){
Block block = getBlock(position);
//replace salt with sand color
return block == Blocks.salt ? Blocks.sand.mapColor : block.mapColor;
if(block == Blocks.salt) return Blocks.sand.mapColor;
//return block.asFloor().isLiquid ? Tmp.c1.set(block.mapColor).a(0.5f) : block.mapColor;
return block.mapColor;
}
@Override