mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Set item description as infotext for item entities (#13728)
This commit is contained in:
parent
a65cdbe66e
commit
587e2b2526
@ -69,6 +69,7 @@ core.register_entity(":__builtin:item", {
|
||||
automatic_rotate = math.pi * 0.5 * 0.2 / size,
|
||||
wield_item = self.itemstring,
|
||||
glow = glow,
|
||||
infotext = stack:get_description(),
|
||||
})
|
||||
|
||||
-- cache for usage in on_step
|
||||
|
Loading…
Reference in New Issue
Block a user