forked from mtcontrib/homedecor_modpack
Stop mesecon pistons pushing frame/pedestal
This pull checks for mesecons_mvps mod and adds the item frame and pedestal items to the list of non-movable items so that players cannot exploit the double-item glitch. mesecons_mvps added to depends.txt file for this to work.
This commit is contained in:
parent
16ae960520
commit
7b9533fea4
@ -1 +1,2 @@
|
||||
default
|
||||
mesecons_mvps?
|
||||
|
@ -253,3 +253,9 @@ minetest.register_craft({
|
||||
{'default:stone', 'default:stone', 'default:stone'},
|
||||
}
|
||||
})
|
||||
|
||||
-- stop mesecon pistons from pushing itemframes and pedestals
|
||||
if minetest.get_modpath("mesecons_mvps") then
|
||||
mesecon.register_mvps_stopper("itemframes:frame")
|
||||
mesecon.register_mvps_stopper("itemframes:pedestal")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user