mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Exclude deepest layer for desert biomes
This commit is contained in:
parent
c5d0e51bd5
commit
f92321f250
1 changed files with 6 additions and 1 deletions
|
@ -902,7 +902,12 @@ public class Zone {
|
|||
List<Object> earth = new ArrayList<>();
|
||||
|
||||
if(player.isV3()) {
|
||||
earth.add(Arrays.asList(height * 0.9, "ground/earth-deepest"));
|
||||
// For some reason this layer is completely broken for desert biomes on Unity clients.
|
||||
// TODO should depth be unique per biome? Per zone even, perhaps?
|
||||
if(biome != Biome.DESERT) {
|
||||
earth.add(Arrays.asList(height * 0.9, "ground/earth-deepest"));
|
||||
}
|
||||
|
||||
earth.add(Arrays.asList(height * 0.7, "ground/earth-deeper"));
|
||||
earth.add(Arrays.asList(height * 0.45, "ground/earth-deep"));
|
||||
depth.put("ground/earth", earth);
|
||||
|
|
Loading…
Add table
Reference in a new issue