]> git.lizzy.rs Git - minetest.git/commit
HUD: Reject and warn on invalid stat types (#11548)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 21 Aug 2021 18:04:04 +0000 (20:04 +0200)
committerGitHub <noreply@github.com>
Sat, 21 Aug 2021 18:04:04 +0000 (20:04 +0200)
commit0c1e9603db32b4281974fdd8b8e3b505148be47e
tree376b6f04d1c27388fbb453694827976a9a6d39a0
parenta72d13064fcbddaf332c7d53e6f34b74d8781586
HUD: Reject and warn on invalid stat types (#11548)

This comes into play on older servers which do not know the "stat" type.
Warnings are only logged once to avoid spam within globalstep callbacks
src/network/clientpackethandler.cpp
src/script/common/c_content.cpp
src/script/common/c_content.h
src/script/common/c_internal.cpp
src/script/common/c_internal.h
src/script/lua_api/l_localplayer.cpp
src/script/lua_api/l_object.cpp