1
0
Fork 0

fix add_bar function returning nil value

mineclone5
AFCMS 2021-04-07 23:54:36 +02:00 committed by kay27
parent bfc1f253af
commit 36d4049632
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function mcl_bossbars.add_bar(player, def)
bar.id = last_id + 1 bar.id = last_id + 1
last_id = bar.id last_id = bar.id
mcl_bossbars.static[bar.id] = bar mcl_bossbars.static[bar.id] = bar
return id return bar.id
end end
end end