From 43bbbd0acb70caae55c01cecf2ca53a42888f770 Mon Sep 17 00:00:00 2001 From: Seb Date: Sat, 18 Nov 2023 13:13:49 +0000 Subject: [PATCH] leveldat/data.go: Add naturalgeneration field to level data --- server/world/mcdb/leveldat/data.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/world/mcdb/leveldat/data.go b/server/world/mcdb/leveldat/data.go index 444d72913..4454b7412 100644 --- a/server/world/mcdb/leveldat/data.go +++ b/server/world/mcdb/leveldat/data.go @@ -139,6 +139,7 @@ type Data struct { EditorWorldType int32 `nbt:"editorWorldType"` PlayersSleepingPercentage int32 `nbt:"playerssleepingpercentage"` RecipesUnlock bool `nbt:"recipesunlock"` + NaturalGeneration bool `nbt:"naturalgeneration"` } // FillDefault fills out d with all the default level.dat values.