Allow /me while cloaked
Adds the allow_while_cloaked parameter to /me.
This commit is contained in:
parent
b5012c39b2
commit
38552b207a
1
core.lua
1
core.lua
|
@ -121,6 +121,7 @@ minetest.register_on_leaveplayer(cloaking.auto_uncloak)
|
|||
if minetest.chatcommands['me'] then
|
||||
local f = minetest.chatcommands['me'].func
|
||||
minetest.override_chatcommand('me', {
|
||||
allow_while_cloaked = true,
|
||||
func = function(name, params)
|
||||
cloaking.auto_uncloak(name)
|
||||
return f(name, params)
|
||||
|
|
Loading…
Reference in New Issue