add not working (crash) lightning
parent
431262c973
commit
8e4b05f9da
3
init.lua
3
init.lua
|
@ -3,4 +3,5 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|||
mcl_uhc = {}
|
||||
|
||||
dofile(modpath.."/drops.lua")
|
||||
dofile(modpath.."/enchantments.lua")
|
||||
dofile(modpath.."/enchantments.lua")
|
||||
--dofile(modpath.."/lightning.lua")
|
|
@ -0,0 +1,3 @@
|
|||
minetest.register_on_dieplayer(function(player, reason)
|
||||
lightning.strike(player:get_pos())
|
||||
end)
|
Loading…
Reference in New Issue