1
0
mirror of https://repo.or.cz/minetest_hudbars.git synced 2025-06-28 22:46:06 +02:00

2 Commits
2.2.1 ... 2.2.2

Author SHA1 Message Date
7993feac07 Version 2.2.2 2020-03-13 18:11:13 +01:00
b19b5f090a Fix another crash 2020-03-13 18:10:52 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ this mod will place them accordingly.
position should be displayed correctly on every screen size.
## Current version
The current version is 2.2.1.
The current version is 2.2.2.
This software uses [semantic versioning](http://semver.org), as defined by version 2.0.0 of the SemVer
standard.

View File

@ -315,10 +315,10 @@ function hb.change_hudbar(player, identifier, new_value, new_max_value, new_icon
end
local name = player:get_player_name()
local hudtable = hb.get_hudtable(identifier)
if not hudtable.hudstate[name] then
return false
end
local hudtable = hb.get_hudtable(identifier)
local value_changed, max_changed = false, false
if new_value ~= nil then