mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2024-11-13 11:10:16 +01:00
Fix a waypoint-related crash
This commit is contained in:
parent
fee142eab2
commit
02acad209b
2
init.lua
2
init.lua
|
@ -788,7 +788,7 @@ end
|
|||
function schemedit.display_node_prob(player, pos, prob, force_place)
|
||||
local wpstring
|
||||
if prob and force_place == true then
|
||||
wpstring = string.format("%d [F]", prob)
|
||||
wpstring = string.format("%s [F]", prob)
|
||||
elseif prob and type(tonumber(prob)) == "number" then
|
||||
wpstring = prob
|
||||
elseif force_place == true then
|
||||
|
|
Loading…
Reference in New Issue
Block a user