From f0a4fe9872f891c172e9d7d029572bdbab8115a3 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 2 Nov 2023 05:41:45 +0100 Subject: [PATCH] fix: oops initialize the field --- src/treepuncher/game/world.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/treepuncher/game/world.py b/src/treepuncher/game/world.py index 8a465aa..6e36cbd 100644 --- a/src/treepuncher/game/world.py +++ b/src/treepuncher/game/world.py @@ -23,6 +23,7 @@ class GameWorld(Scaffold): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) + self.world = World() self.position = BlockPos(0, 0, 0) self.vehicle_id = None self._last_steer_vehicle = time()