forked from VoxeLibre/VoxeLibre
merge lodestone in new branch #2
|
@ -14,6 +14,7 @@ local random_timer_trigger = 0.5 -- random compass spinning tick in seconds. Inc
|
|||
local random_frame = math.random(0, compass_frames-1)
|
||||
|
||||
function mcl_compass.get_compass_image(pos, dir, itemstack)
|
||||
local compass_image = ""
|
||||
-- Compasses do not work in certain zones
|
||||
local lodestone_pos = minetest.string_to_pos(itemstack:get_meta():get_string("pointsto"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue