mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 09:25:10 +00:00
Correct indentation
This commit is contained in:
parent
d6c7c9dcd0
commit
5637701c4b
1 changed files with 5 additions and 6 deletions
|
@ -59,15 +59,14 @@ local function register_potion(def)
|
|||
local on_use = nil
|
||||
|
||||
if def.on_use then
|
||||
|
||||
on_use = function (itemstack, user, pointed_thing)
|
||||
|
||||
def.on_use(user, def.effect, dur)
|
||||
minetest.do_item_eat(0, "mcl_potions:glass_bottle", itemstack, user, pointed_thing)
|
||||
mcl_potions._use_potion(itemstack, user, def.color)
|
||||
def.on_use(user, def.effect, dur)
|
||||
minetest.do_item_eat(0, "mcl_potions:glass_bottle", itemstack, user, pointed_thing)
|
||||
mcl_potions._use_potion(itemstack, user, def.color)
|
||||
|
||||
return itemstack
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
end
|
||||
|
||||
local function get_tt(tt, effect, dur)
|
||||
|
|
Loading…
Reference in a new issue