forked from nalc/witchcraft
fix for shiny potion
This commit is contained in:
parent
4fe76ee709
commit
81d7d65bed
3
init.lua
3
init.lua
@ -3524,8 +3524,7 @@ minetest.register_node("witchcraft:potion_gold_2", {
|
|||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
inventory_image = "witchcraft_potion_gold.png^[colorize:black:50",
|
inventory_image = "witchcraft_potion_gold.png^[colorize:black:50",
|
||||||
on_use = function(item, user, pointed_thing)
|
on_use = function(item, user, pointed_thing)
|
||||||
local player = user:get_player_name()
|
lightchange(user, 10)
|
||||||
lightchange(player, 10)
|
|
||||||
local playerpos = user:getpos();
|
local playerpos = user:getpos();
|
||||||
minetest.add_particlespawner(
|
minetest.add_particlespawner(
|
||||||
5, --amount
|
5, --amount
|
||||||
|
Loading…
Reference in New Issue
Block a user