Fixed a crash
This commit is contained in:
@@ -53,6 +53,7 @@ public class TestPlanetGenerator implements PlanetGenerator{
|
||||
@Override
|
||||
public void generate(Vec3 position, TileGen tile){
|
||||
tile.floor = getBlock(position);
|
||||
tile.overlay = Mathf.chance(0.01) ? Blocks.oreCopper : Blocks.air;
|
||||
}
|
||||
|
||||
Block getBlock(Vec3 position){
|
||||
|
||||
Reference in New Issue
Block a user