]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - builtin/client/util.lua
Remove NextItem
[dragonfireclient.git] / builtin / client / util.lua
index 783d0ceb1334266d9565589e84737440909c9402..42e383c5c66e588123bdfd084c80405f59494a18 100644 (file)
@@ -49,4 +49,8 @@ function core.get_pointed_thing()
        local def = core.get_item_def(item:get_name())
        local ray = core.raycast(pos, pos2, true, core.settings:get_bool("point_liquids") or def and def.liquids_pointable)
        return ray and ray:next()
-end    
+end
+
+function core.close_formspec(formname)
+       return core.show_formspec(formname, "")
+end