From 61a9bb2b474c600cfd87f214d19ba567585ee1e3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 12 Aug 2012 17:03:05 +0300 Subject: [PATCH] Fix crash when a player happens to join the server quicker than the creative inventory filler is called --- mods/creative/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/creative/init.lua b/mods/creative/init.lua index 6106a7d8..a18140bb 100644 --- a/mods/creative/init.lua +++ b/mods/creative/init.lua @@ -1,6 +1,7 @@ -- minetest/creative/init.lua local creative_inventory = {} +creative_inventory.creative_inventory_size = 0 -- Create detached creative inventory after loading all mods minetest.after(0, function() -- 2.25.1