mirror of
https://github.com/minetest-mods/gauges.git
synced 2024-11-17 16:08:20 +01:00
Don't lose hp_bar when teleporting
If a player teleports far away, their hp_bar can become deactivated and disappear. The mod installs the gauge only when a player joins, so it will be forever missing. `static_save = false` prevents the item from deactivating https://github.com/minetest/minetest/blob/master/src/serverenvironment.cpp#L2028 . Also, it doesn't make sense to save `gauges:hp_bar` to map meta since it's not a standalone item.
This commit is contained in:
parent
8e4faffe8d
commit
b08db516d5
Loading…
Reference in New Issue
Block a user