From: Novatux Date: Sat, 14 Jun 2014 13:35:39 +0000 (+0200) Subject: Filter inventory fix X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9a63a1614088f57ae692b4adafb206b8e4544c71;p=zefram%2Fminetest%2Fpipeworks.git Filter inventory fix --- diff --git a/item_transport.lua b/item_transport.lua index 525dc94..06a020b 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -100,7 +100,7 @@ minetest.register_node("pipeworks:filter", { "list[current_player;main;0,2.5;8,4;]") meta:set_string("infotext", "Filter") local inv = meta:get_inventory() - inv:set_size("main", 8*4) + inv:set_size("main", 8*2) end, can_dig = function(pos,player) local meta = minetest.get_meta(pos); @@ -191,7 +191,7 @@ minetest.register_node("pipeworks:mese_filter", { "list[current_player;main;0,2.5;8,4;]") meta:set_string("infotext", "Mese filter") local inv = meta:get_inventory() - inv:set_size("main", 8*4) + inv:set_size("main", 8*2) end, can_dig = function(pos,player) local meta = minetest.get_meta(pos);