1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

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

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