diff options
Diffstat (limited to 'pacmine/fruit.lua')
-rw-r--r-- | pacmine/fruit.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pacmine/fruit.lua b/pacmine/fruit.lua index 4858655..4c21ccc 100644 --- a/pacmine/fruit.lua +++ b/pacmine/fruit.lua @@ -2,7 +2,11 @@ local cbox = { type = "fixed", fixed = {{-0.875, 0.125, -0.0625, -0.125, 0.875, 0.0625}} } - +local sbox = { + type = "fixed", + fixed = {{0, 0, 0, 0, 0, 0}} + } + local pelletitems = { {"cherrys", "Cherrys","2"}, {"apple", "Apple","3"}, @@ -26,7 +30,7 @@ minetest.register_node("pacmine:"..itm,{ light_source = 14, groups = {immortal=1,not_in_creative_inventory = 0}, --node_box = cbox, - selection_box = cbox, + selection_box = sbox, collision_box = cbox, on_timer = function(pos, dtime) minetest.remove_node(pos) |