RealBadAngel
2013-02-18 3a8a4635d7a5af48ab33c73e51c417e8e007c465
UI update
1 files modified
6 ■■■■ changed files
unified_inventory/api.lua 6 ●●●● patch | view | raw | blame | history
unified_inventory/api.lua
@@ -53,7 +53,11 @@
        return 0
        end,
        allow_take = function(inv, listname, index, stack, player)
            return 0
            if minetest.setting_getbool("creative_mode") then
                return stack:get_count()
            else
                return 0
            end
        end,
        allow_move = function(inv, from_list, from_index, to_list, to_index, count, player)
            return 0