forked from minetest/minetest_game
Fix crash when a player happens to join the server quicker than the creative inventory filler is called
This commit is contained in:
parent
32ee20ebe7
commit
61a9bb2b47
|
@ -1,6 +1,7 @@
|
||||||
-- minetest/creative/init.lua
|
-- minetest/creative/init.lua
|
||||||
|
|
||||||
local creative_inventory = {}
|
local creative_inventory = {}
|
||||||
|
creative_inventory.creative_inventory_size = 0
|
||||||
|
|
||||||
-- Create detached creative inventory after loading all mods
|
-- Create detached creative inventory after loading all mods
|
||||||
minetest.after(0, function()
|
minetest.after(0, function()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user