merge lodestone in new branch #2

Merged
chmodsayshello merged 13 commits from mcl2_lodestone into lodestone_with_cooldown 2022-04-27 20:22:52 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 44b21512c5 - Show all commits

View File

@ -28,8 +28,8 @@ local random_frame = math.random(0, compass_frames-1)
function mcl_compass.get_compass_image(pos, dir, itemstack)
if not itemstack then
return random_frame --no itemstack! random frame
minetest.log("WARNING: mcl_compass.get_compass_image() was called without itemstack, returning random frame!")
return random_frame
end
local lodestone_pos = minetest.string_to_pos(itemstack:get_meta():get_string("pointsto"))