mirror of
https://github.com/minetest-mods/lightning.git
synced 2025-09-08 07:55:39 +02:00
Use mod.conf for dependencies and description
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
default?
|
||||
fire?
|
@@ -1 +0,0 @@
|
||||
A mod that adds thunder and lightning effects.
|
2
init.lua
2
init.lua
@@ -63,7 +63,7 @@ local function choose_pos(pos)
|
||||
|
||||
local r = rng:next(1, playercount)
|
||||
local randomplayer = playerlist[r]
|
||||
pos = randomplayer:getpos()
|
||||
pos = randomplayer:get_pos()
|
||||
|
||||
-- avoid striking underground
|
||||
if pos.y < -20 then
|
||||
|
Reference in New Issue
Block a user