forked from VoxeLibre/VoxeLibre
Fix crash in mcl_bossbars.remove_bar
This commit is contained in:
parent
ab0b647b26
commit
7e37f74339
|
@ -65,7 +65,7 @@ function mcl_bossbars.add_bar(player, def, dynamic, priority)
|
|||
end
|
||||
|
||||
function mcl_bossbars.remove_bar(id)
|
||||
mcl_bossbars.static[id].bar.id = nil
|
||||
mcl_bossbars.static[id].id = nil
|
||||
mcl_bossbars.static[id] = nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue