mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 00:21:07 +01:00
Why did my editor not show whitespace differences
This commit is contained in:
parent
c9945f3911
commit
5eee8abcad
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue