add comment

This commit is contained in:
Lars Müller 2025-05-28 18:51:00 +02:00 committed by GitHub
parent 2b4fcea9f5
commit 2d7054c266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2605,7 +2605,7 @@ local function register_sign(material, desc, def)
end,
on_receive_fields = function(pos, formname, fields, sender)
if not fields.quit then
return
return -- workaround for https://github.com/luanti-org/luanti/issues/16187
end
local player_name = sender:get_player_name()
if minetest.is_protected(pos, player_name) then