From 371fdaedcef2c163edd226160f388068b2bf5e83 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 19 Nov 2024 12:04:56 +0300 Subject: [PATCH] fix World::nextInventoryId --- src/world/World.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/World.hpp b/src/world/World.hpp index fcd0fcac..61e92cfc 100644 --- a/src/world/World.hpp +++ b/src/world/World.hpp @@ -58,7 +58,7 @@ class World { const Content* const content; std::vector packs; - int64_t nextInventoryId = 0; + int64_t nextInventoryId = 1; void writeResources(const Content* content); public: