forked from minetest-mods/gauges
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
b7051168f1
@ -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
|
||||||
|
1
init.lua
1
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user