Why did my editor not show whitespace differences

This commit is contained in:
seventeenthShulker 2024-08-18 18:09:30 +02:00
parent c9945f3911
commit 5eee8abcad
1 changed files with 4 additions and 4 deletions

View File

@ -395,14 +395,14 @@ minetest.register_globalstep(function(dtime)
player:hud_change(hud.map, "text", "[combine:140x140:0,0=mcl_maps_map_background.png:6,6=" .. texture)
maps[player] = texture
end
local pos = vector.round(player:get_pos())
local meta = wield:get_meta()
local minp = string_to_pos(meta:get_string("mcl_maps:minp"))
local maxp = string_to_pos(meta:get_string("mcl_maps:maxp"))
local marker = "mcl_maps_player_arrow.png"
if pos.x < minp.x then
marker = "mcl_maps_player_dot.png"
pos.x = minp.x
@ -410,7 +410,7 @@ minetest.register_globalstep(function(dtime)
marker = "mcl_maps_player_dot.png"
pos.x = maxp.x
end
if pos.z < minp.z then
marker = "mcl_maps_player_dot.png"
pos.z = minp.z