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
부모 16ae960520
커밋 7b9533fea4
2개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

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