Itemshow now uses rp_item_update
This commit is contained in:
parent
c574d033d8
commit
c04a6fd6cc
@ -217,6 +217,12 @@ minetest.register_entity("rp_itemshow:item",{
|
||||
end
|
||||
|
||||
if item and item ~= "" then
|
||||
local itemstack = ItemStack(item)
|
||||
local new_itemstack = rp_item_update.update_item(itemstack)
|
||||
if new_itemstack then
|
||||
item = new_itemstack:to_string()
|
||||
end
|
||||
|
||||
self:_configure(item, nodename, rotate_dir)
|
||||
end
|
||||
end,
|
||||
|
@ -1,4 +1,4 @@
|
||||
name = rp_itemshow
|
||||
description = Item frames and item showcases
|
||||
depends = rp_sounds, rp_default
|
||||
depends = rp_sounds, rp_default, rp_item_update
|
||||
optional_depends = rp_itemdef_defaults
|
||||
|
Loading…
x
Reference in New Issue
Block a user