Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bri cassa 2021-11-06 09:18:25 +01:00
commit b7051168f1
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased] ## [Unreleased]
### Changed
- [Health and breath bars now adapt to custom maximum values instead of being hardcoded to 20 and 11 respectively.](https://github.com/minetest-mods/gauges/pull/9)
### Fixed
- [The health bar entity is no longer lost when a player teleports.](https://github.com/minetest-mods/gauges/pull/10)
- A side effect is that health bar entities are no longer saved in map metadata.
## [1.0.4] - 2020-09-27 ## [1.0.4] - 2020-09-27
### Added ### Added

View File

@ -45,6 +45,7 @@ minetest.register_entity("gauges:hp_bar", {
textures = {"blank.png"}, textures = {"blank.png"},
collisionbox = {0}, collisionbox = {0},
physical = false, physical = false,
static_save = false,
on_step = function(self) on_step = function(self)
local player = self.wielder local player = self.wielder