Revert "fix add_bar function returning nil value"

This reverts commit 11114c6847.
This commit is contained in:
AFCMS 2021-04-07 23:54:40 +02:00
parent 11114c6847
commit f7ddfe2891
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
last_id = bar.id
mcl_bossbars.static[bar.id] = bar
return bar.id
return id
end
end