mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Fix crash in mcl_bossbars.remove_bar
This commit is contained in:
parent
0d5933b95e
commit
6f770bc962
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function mcl_bossbars.add_bar(player, def, dynamic, priority)
|
||||||
end
|
end
|
||||||
|
|
||||||
function mcl_bossbars.remove_bar(id)
|
function mcl_bossbars.remove_bar(id)
|
||||||
mcl_bossbars.static[id].bar.id = nil
|
mcl_bossbars.static[id].id = nil
|
||||||
mcl_bossbars.static[id] = nil
|
mcl_bossbars.static[id] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue