mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-05 07:13:51 +01:00
Revert "fix add_bar function returning nil value"
This reverts commit 11114c6847ed1eb90da964026395d24f559aba03.
This commit is contained in:
parent
11114c6847
commit
f7ddfe2891
@ -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 bar.id
|
return id
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user