mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-12-24 17:50:29 +01:00
don't try to match last_color to registered_items table, that breaks aliases
This commit is contained in:
parent
088b5ee120
commit
3898337fc3
2
init.lua
2
init.lua
@ -639,7 +639,7 @@ function unifieddyes.on_airbrush(itemstack, player, pointed_thing)
|
||||
local player_name = player:get_player_name()
|
||||
local painting_with = nil
|
||||
|
||||
if unifieddyes.player_current_dye[player_name] and minetest.registered_items[unifieddyes.player_current_dye[player_name]] then
|
||||
if unifieddyes.player_current_dye[player_name] then
|
||||
painting_with = unifieddyes.player_current_dye[player_name]
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user