mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Fix default sky-light being 16 instead of 15
This commit is contained in:
parent
22450e7632
commit
e36e08ea35
@ -79,7 +79,7 @@ public Chunk_1_13(MCAWorld world, Data data) {
|
||||
this.inhabitedTime = level.inhabitedTime;
|
||||
|
||||
DimensionType dimensionType = getWorld().getDimensionType();
|
||||
this.skyLight = dimensionType.hasSkylight() ? 16 : 0;
|
||||
this.skyLight = dimensionType.hasSkylight() ? 15 : 0;
|
||||
|
||||
this.worldSurfaceHeights = level.heightmaps.worldSurface;
|
||||
this.oceanFloorHeights = level.heightmaps.oceanFloor;
|
||||
|
@ -75,7 +75,7 @@ public Chunk_1_16(MCAWorld world, Data data) {
|
||||
this.inhabitedTime = level.inhabitedTime;
|
||||
|
||||
DimensionType dimensionType = getWorld().getDimensionType();
|
||||
this.skyLight = dimensionType.hasSkylight() ? 16 : 0;
|
||||
this.skyLight = dimensionType.hasSkylight() ? 15 : 0;
|
||||
|
||||
int worldHeight = dimensionType.getHeight();
|
||||
int bitsPerHeightmapElement = MCAUtil.ceilLog2(worldHeight + 1);
|
||||
|
@ -74,7 +74,7 @@ public Chunk_1_18(MCAWorld world, Data data) {
|
||||
|
||||
DimensionType dimensionType = getWorld().getDimensionType();
|
||||
this.worldMinY = dimensionType.getMinY();
|
||||
this.skyLight = dimensionType.hasSkylight() ? 16 : 0;
|
||||
this.skyLight = dimensionType.hasSkylight() ? 15 : 0;
|
||||
|
||||
int worldHeight = dimensionType.getHeight();
|
||||
int bitsPerHeightmapElement = MCAUtil.ceilLog2(worldHeight + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user