Tweak grammar in various files

- Fix release date to match the actual 1.0.3 release.
This commit is contained in:
Hugo Locurcio 2020-02-15 16:19:22 +01:00
parent 0f924c177c
commit ab7806a4bf
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
3 changed files with 7 additions and 7 deletions

View File

@ -7,15 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [1.0.3] - 2020-01-21
## [1.0.3] - 2020-02-15
### Fixed
- Fix the problem when the Gauges lost the player
- Fix an issue with gauges occasionally no longer appearing above a player.
### Changed
- Now the Minetest version is checked using `minetest.get_version()`. It is very reliable.
- Improved the reliability of the Minetest version check (for compatibility with 0.4.17).
## [1.0.2] - 2020-01-16

View File

@ -60,9 +60,8 @@ on that line.
## Version compatibility
Gauges is currently support Minetest 5.0+ and 0.4.17+. This does not work with older versions.
Issues arising in versions older than 5.0
will generally not be fixed.
Gauges currently supports Minetest 5.0 and later, as well as 0.4.17.
Issues arising in versions older than 5.0 will generally not be fixed.
## License

View File

@ -16,7 +16,8 @@ local function add_gauge(player)
local entity = minetest.add_entity(player:get_pos(), "gauges:hp_bar")
local height = 19
-- check for Minetest 0.4.17
-- Check for Minetest 0.4.17 and adjust the entity height if needed
-- (The entity height offset was changed in Minetest 5.0.0.)
local version = tonumber(minetest.get_version().string:sub(1, 1))
if version and version < 5 then
height = 9