mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 10:29:34 +01:00
fix add_bar function returning nil value
This commit is contained in:
parent
bfc1f253af
commit
36d4049632
1 changed files with 1 additions and 1 deletions
|
@ -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 id
|
||||
return bar.id
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue