mirror of
https://github.com/D00Med/witchcraft.git
synced 2024-12-25 01:00:19 +01:00
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(),
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user