Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ public boolean setChunkDataTypes(boolean blockdata, boolean biome, boolean highe
return true;
}

private static final String litStates[] = { "light", "spawn", "heightmaps", "full" };
private static final String litStates[] = { "light", "spawn", "heightmaps", "full", "minecraft:light", "minecraft:spawn", "minecraft:heightmaps", "minecraft:full"};

/**
* Resolve a block state from its palette name and property string ("prop=value,prop=value", may be empty).
Expand Down Expand Up @@ -1278,7 +1278,7 @@ public GenericChunk parseChunkFromNBT(GenericNBTCompound orignbt) {
if (nbt == null) return null;
String status = nbt.getString("Status");
int version = orignbt.getInt("DataVersion");
boolean lit = nbt.getBoolean("isLightOn");
boolean lit = nbt.getBoolean("isLightOn") || orignbt.contains("starlight.light_version"); // Chunks with Starlight data always have isLightOn as false. Affects chunks from Paper and Fabric servers with the Starlight mod.
boolean hasLitState = false;
if (status != null) {
for (String litState : litStates) {
Expand Down