fix bug causing client to crash

This commit is contained in:
Brett O'Donnell 2012-08-20 21:28:49 +09:30
parent a28d7f9db6
commit 0baeca94e7

View File

@ -4,7 +4,7 @@
-- Lisence: GPL -- -- Lisence: GPL --
---------------------------------- ----------------------------------
local version = "0.1.1" local version = "0.1.2"
local craft_guide_inventory = {} local craft_guide_inventory = {}
@ -304,7 +304,7 @@ minetest.register_craft({
}) })
-- AFTER MINETEST STARTS -- AFTER MINETEST STARTS
minetest.after(0, function() minetest.after(10, function()
local inv = minetest.create_detached_inventory("craft_guide", { local inv = minetest.create_detached_inventory("craft_guide", {
allow_move = function(inv, from_list, from_index, to_list, to_index, count, player) allow_move = function(inv, from_list, from_index, to_list, to_index, count, player)
return 0 return 0