Fix crash in mcl_bossbars.remove_bar

Elias Fleckenstein 2021-04-12 17:54:09 +02:00
parent 0d5933b95e
commit 6f770bc962

@ -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