Fix crash when a player happens to join the server quicker than the creative inventory filler is called

This commit is contained in:
Perttu Ahola 2012-08-12 17:03:05 +03:00
parent 32ee20ebe7
commit 61a9bb2b47
1 changed files with 1 additions and 0 deletions

View File

@ -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()