WHOPS
This commit is contained in:
parent
9aa8bbf08a
commit
7f96ca83f0
@ -28,5 +28,5 @@ function chat_formspec.update()
|
||||
}
|
||||
end
|
||||
end
|
||||
chat_formspec.selection_fs = create_selection_formspec()
|
||||
chat_formspec.selection_fs = chat_formspec.create_selection_formspec()
|
||||
end
|
@ -20,7 +20,7 @@ local function chat_escape(text) -- remove all control characters to prevent
|
||||
end
|
||||
|
||||
|
||||
-- show a formspec to a player
|
||||
-- show a chat_formspec to a player
|
||||
function chat_formspec.show_to_target(sendername, fs)
|
||||
local sendercontext = chat_formspec.get_context(sendername)
|
||||
local targetname = sendercontext.target
|
||||
|
@ -1,4 +1,4 @@
|
||||
local function create_selection_formspec()
|
||||
function chat_formspec.create_selection_formspec()
|
||||
local fs = [[
|
||||
formspec_version[6]
|
||||
size[16,12]
|
||||
@ -14,7 +14,7 @@ local function create_selection_formspec()
|
||||
return fs
|
||||
end
|
||||
|
||||
chat_formspec.selection_fs = create_selection_formspec()
|
||||
chat_formspec.selection_fs = chat_formspec.create_selection_formspec()
|
||||
|
||||
chat_formspec.custom_template = [[
|
||||
formspec_version[6]
|
||||
|
Reference in New Issue
Block a user