From 64e482d5c799e00066ff9ec591e56bc944492b1f Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 23 Jun 2022 19:30:09 +0200 Subject: [PATCH] Update minecraft-data and change biome depth to be optional Signed-off-by: trivernis --- minecraft-data | 2 +- src/models/biome.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-data b/minecraft-data index 6428d49..153706b 160000 --- a/minecraft-data +++ b/minecraft-data @@ -1 +1 @@ -Subproject commit 6428d491a7e03fb3bfa2f75185cccc4f69fadec8 +Subproject commit 153706b6ffb2e56f51a1b91922dffd3350ddcb0e diff --git a/src/models/biome.rs b/src/models/biome.rs index 6424136..d4019c1 100644 --- a/src/models/biome.rs +++ b/src/models/biome.rs @@ -6,7 +6,7 @@ pub struct Biome { pub category: String, pub temperature: f32, pub precipitation: String, - pub depth: f32, + pub depth: Option, pub dimension: String, pub display_name: String, pub color: u32,