Filter inventory fix
authorNovatux <nathanael.courant@laposte.net>
Sat, 14 Jun 2014 13:35:39 +0000 (15:35 +0200)
committerNovatux <nathanael.courant@laposte.net>
Sat, 14 Jun 2014 13:35:39 +0000 (15:35 +0200)
item_transport.lua

index 525dc944871c8d37f2ffcc419eac30d3759a3d34..06a020b8703c1ec9c5f8338bdb675a42aa997252 100644 (file)
@@ -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);