forked from Mineclonia/Mineclonia
Remove worldedit_gui error (delegated to this mod)
This commit is contained in:
parent
2243ee5477
commit
7aa4592f0a
|
@ -4,14 +4,6 @@ local show_armor = false
|
||||||
if minetest.get_modpath("3d_armor") ~= nil then show_armor = true end
|
if minetest.get_modpath("3d_armor") ~= nil then show_armor = true end
|
||||||
|
|
||||||
|
|
||||||
-- Sadly, using worldedit_gui breaks the inventory, making it incompatible.
|
|
||||||
-- Print error message if this mod was found.
|
|
||||||
-- TODO: Remove this message when worldedit_gui has been fixed.
|
|
||||||
if minetest.get_modpath("worldedit_gui") then
|
|
||||||
minetest.log("error", "The mod “worldedit_gui” is enabled. This mod is known to break the inventory in MineClone 2. Please disable worldedit_gui and restart the game.")
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
-- Returns a single itemstack in the given inventory to the main inventory, or drop it when there's no space left
|
-- Returns a single itemstack in the given inventory to the main inventory, or drop it when there's no space left
|
||||||
local function return_item(itemstack, dropper, pos, inv)
|
local function return_item(itemstack, dropper, pos, inv)
|
||||||
if dropper:is_player() then
|
if dropper:is_player() then
|
||||||
|
|
Loading…
Reference in New Issue