summaryrefslogtreecommitdiff
path: root/src/unittest/test_server_shutdown_state.cpp
diff options
context:
space:
mode:
authorBeha <shacknetisp@mail.com>2019-08-07 04:48:04 -0400
committersfan5 <sfan5@live.de>2019-08-07 10:48:04 +0200
commit4d7f2967172c5a358811ac1f24115b281eff2431 (patch)
tree78dcbd0daac2fd9aa699db132b58fd31c077eb1d /src/unittest/test_server_shutdown_state.cpp
parent233cb86e864affe3dee8f60503584f1eb7e36287 (diff)
downloadminetest-4d7f2967172c5a358811ac1f24115b281eff2431.tar.gz
minetest-4d7f2967172c5a358811ac1f24115b281eff2431.tar.bz2
minetest-4d7f2967172c5a358811ac1f24115b281eff2431.zip
Do not add group values of zero to group lists. (#8751)
This fixes an issue where when the engine looked up groups (for example, in ABM node names), NodeDefManager's m_group_to_items would contain nodes with a group value of zero, resulting in nodes with flammable = 0 being burned by a fire mod with a group:flammable checking ABM. It brings consistency to the behaviour described in the api documentation, where zero and nil groups should be the same.
Diffstat (limited to 'src/unittest/test_server_shutdown_state.cpp')
0 files changed, 0 insertions, 0 deletions