fix for shiny potion

This commit is contained in:
D00Med 2016-10-26 16:37:46 +10:00
parent 4fe76ee709
commit 81d7d65bed

View File

@ -3524,8 +3524,7 @@ minetest.register_node("witchcraft:potion_gold_2", {
sounds = default.node_sound_glass_defaults(),
inventory_image = "witchcraft_potion_gold.png^[colorize:black:50",
on_use = function(item, user, pointed_thing)
local player = user:get_player_name()
lightchange(player, 10)
lightchange(user, 10)
local playerpos = user:getpos();
minetest.add_particlespawner(
5, --amount