projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ee20e
)
Fix crash when a player happens to join the server quicker than the creative inventor...
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 12 Aug 2012 14:03:05 +0000
(17:03 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 12 Aug 2012 14:03:05 +0000
(17:03 +0300)
mods/creative/init.lua
patch
|
blob
|
history
diff --git
a/mods/creative/init.lua
b/mods/creative/init.lua
index 6106a7d89c16938fda40f57c94eb097c5a017bc5..a18140bb7bdfbfaaa07b568e86fd764bfcf65516 100644
(file)
--- 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()