Camas/mods/wielditem/init.lua

21 lines
352 B
Lua
Raw Normal View History

2015-09-01 17:15:24 +02:00
--
-- Wielditem mod
-- By Kaadmy, for Pixture
--
local update_time = 1
local timer = 10
local function step(dtime)
timer = timer + dtime
if timer > update_time then
for _, player in pairs(minetest.get_connected_players()) do
2015-09-29 22:06:38 +02:00
2015-09-01 17:15:24 +02:00
end
timer = 0
end
end
minetest.register_globalstep(step)
default.log("mod:wielditem", "loaded")