mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-19 15:04:01 +00:00
Read 1.21.1 dimension contract
- The world check derives the End dragon fight flag from the dimension effects when the runtime dimension type has no has_ender_dragon_fight field
This commit is contained in:
+2
-1
@@ -86,7 +86,8 @@ final class WorldCheckDimensionContract {
|
||||
(float) json.getDouble("ambient_light"),
|
||||
json.getBoolean("has_skylight"),
|
||||
json.getBoolean("has_ceiling"),
|
||||
json.getBoolean("has_ender_dragon_fight"),
|
||||
json.has("has_ender_dragon_fight") ? json.getBoolean("has_ender_dragon_fight")
|
||||
: "minecraft:the_end".equals(json.optString("effects")),
|
||||
json.getInt("monster_spawn_block_light_limit"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user