mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-07-04 13:47:12 -04:00
Apply suggestions from code review
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
parent
e50982f679
commit
8fb91ea8be
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ end
|
||||||
function bucket.register_liquid(source, flowing, itemname, inventory_image, name,
|
function bucket.register_liquid(source, flowing, itemname, inventory_image, name,
|
||||||
groups, force_renew)
|
groups, force_renew)
|
||||||
local itemname_raw = itemname
|
local itemname_raw = itemname
|
||||||
itemname = itemname:match(":(.+)") or itemname
|
itemname = itemname and itemname:match(":(.+)") or itemname
|
||||||
bucket.liquids[source] = {
|
bucket.liquids[source] = {
|
||||||
source = source,
|
source = source,
|
||||||
flowing = flowing,
|
flowing = flowing,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue