Protectors cannot be moved by mesecons anymore

master
TenPlus1 2017-02-01 14:13:20 +00:00
parent 9a8b6c3957
commit 11c0b9b153
3 changed files with 9 additions and 1 deletions

View File

@ -45,6 +45,7 @@ Change log:
2.0 - Added protector placement tool (thanks to Shara) so that players can easily
stand on a protector, face in a direction and it places a new one at a set
distance to cover protection radius. Added /protector_show command (thanks agaran)
Protectors cannot be moved by mesecon pistons or machines.
Lucky Blocks: 6

View File

@ -1,3 +1,4 @@
default
intllib?
lucky_block?
lucky_block?
mesecons_mvps?

View File

@ -640,4 +640,10 @@ dofile(path .. "/admin.lua")
dofile(path .. "/tool.lua")
dofile(path .. "/lucky_block.lua")
-- stop mesecon pistons from pushing protectors
if minetest.get_modpath("mesecons_mvps") then
mesecon.register_mvps_stopper("protector:protect")
mesecon.register_mvps_stopper("protector:protect2")
end
print (S("[MOD] Protector Redo loaded"))