Skip to content

Commit

Permalink
fix missing formspec escape
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tour-ist committed Jan 21, 2024
1 parent 31a98e2 commit e07f7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moremesecons_commandblock/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ local function receive_fields(pos, _, fields, player)
and player:get_player_name() ~= owner then
return
end
meta:set_string("commands", fields.commands)
meta:set_string("commands", minetest.formspec_escape(fields.commands))

initialize_data(meta)
end
Expand Down

0 comments on commit e07f7ce

Please sign in to comment.