From 5514b5912143fd96d57eb71525663c630ce57bb3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 2 Sep 2023 23:10:07 +0200 Subject: fix areas missing items array --- db/areas.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'db/areas.php') diff --git a/db/areas.php b/db/areas.php index fd0943a..b644a9d 100644 --- a/db/areas.php +++ b/db/areas.php @@ -42,6 +42,11 @@ foreach (scandir(__DIR__ . '/areas') as $file) { $area['trainers'] ??= []; + // items + + $area['items'] ??= []; + + // environment $environmentSlug = $area['modules/tuxemon.environment'] ?? ''; -- cgit v1.2.3