1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

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:
tenplus1 2016-04-12 18:41:28 +01:00 committed by Auke Kok
parent 16ae960520
commit 7b9533fea4
2 changed files with 7 additions and 0 deletions

View File

@ -1 +1,2 @@
default
mesecons_mvps?

View File

@ -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