From 6bb7cee7f42a65537f23e59d327b03071cc3e9c5 Mon Sep 17 00:00:00 2001 From: Stan Soldatov Date: Tue, 7 Jan 2025 19:18:21 +0100 Subject: [PATCH] Updated base grass value. --- maps4fs/generator/map.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maps4fs/generator/map.py b/maps4fs/generator/map.py index 99ac100d..284cceb7 100644 --- a/maps4fs/generator/map.py +++ b/maps4fs/generator/map.py @@ -104,6 +104,11 @@ def __init__( # pylint: disable=R0917, R0915 self.logger.info("Background settings: %s", background_settings) self.grle_settings = grle_settings self.logger.info("GRLE settings: %s", grle_settings) + if not isinstance(self.grle_settings.base_grass, str): + self.grle_settings.base_grass = self.grle_settings.base_grass[0] + self.logger.info( + "Updated value of the base grass to %s.", self.grle_settings.base_grass + ) self.i3d_settings = i3d_settings self.logger.info("I3D settings: %s", i3d_settings) self.texture_settings = texture_settings