mirror of
https://github.com/minetest-mods/gauges.git
synced 2024-12-22 17:00:24 +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