mirror of
https://github.com/minetest-mods/filter.git
synced 2025-03-15 04:11:26 +00:00
Avoid dependency on default - causes potential crash.
This commit is contained in:
parent
61bee7742c
commit
a0a22bc69e
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -97,7 +97,7 @@ function filter.mute(name, duration)
|
|||
end
|
||||
|
||||
function filter.show_warning_formspec(name)
|
||||
local formspec = "size[7,3]bgcolor[#080808BB;true]" .. default.gui_bg .. default.gui_bg_img .. [[
|
||||
local formspec = "size[7,3]bgcolor[#080808BB;true]" .. [[
|
||||
image[0,0;2,2;filter_warning.png]
|
||||
label[2.3,0.5;Please watch your language!]
|
||||
]]
|
||||
|
|
Loading…
Add table
Reference in a new issue