forked from MineClone5/MineClone5
[mcl_clock] fix warnings
This commit is contained in:
parent
8ac5d32416
commit
df1eeba6b6
|
@ -96,8 +96,6 @@ minetest.register_globalstep(function(dtime)
|
||||||
|
|
||||||
for p, player in pairs(minetest.get_connected_players()) do
|
for p, player in pairs(minetest.get_connected_players()) do
|
||||||
for s, stack in pairs(player:get_inventory():get_list("main")) do
|
for s, stack in pairs(player:get_inventory():get_list("main")) do
|
||||||
local dim = mcl_worlds.pos_to_dimension(player:get_pos())
|
|
||||||
|
|
||||||
local frame
|
local frame
|
||||||
-- Clocks do not work in certain zones
|
-- Clocks do not work in certain zones
|
||||||
if not mcl_worlds.clock_works(player:get_pos()) then
|
if not mcl_worlds.clock_works(player:get_pos()) then
|
||||||
|
|
Loading…
Reference in New Issue