summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index ff59383..aebfdb0 100644
--- a/init.lua
+++ b/init.lua
@@ -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"))