[mobs_goblins] Add patch for "goblin_traps.lua".

This commit is contained in:
AntumDeluge 2016-08-12 10:55:20 -07:00
parent 0ab5298099
commit ce9d71a529

View File

@ -0,0 +1,11 @@
--- goblin_traps.lua.orig 2016-08-12 10:48:42.000000000 -0700
+++ goblin_traps.lua 2016-08-12 10:49:07.683792914 -0700
@@ -318,6 +318,8 @@
else
print("enable_tnt ~= true")
end
+
+local singleplayer = minetest.is_singleplayer()
if (not singleplayer and setting ~= true) or (singleplayer and setting == false) then
-- wimpier trap for non-tnt settings
minetest.register_abm({