mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-04-30 13:11:41 -04:00
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 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue