Effects System: apply effects with reason & theirs physics with reason. Closes lord-server/lord#1830

This commit is contained in:
alek13
2024-12-11 02:31:08 +03:00
parent 834d624bfe
commit 534d8afecb

View File

@@ -183,7 +183,7 @@ local ItemDefinition = {
--- Otherwise, the function is free to do what it wants.
--- The user may be any ObjectRef or nil.
--- The default functions handle regular use cases.
--- @type fun(itemstack:ItemStack, user:Player|ObjectRef|nil, pointed_thing:pointed_thing)
--- @type fun(itemstack:ItemStack, user:Player|ObjectRef|nil, pointed_thing:pointed_thing):ItemStack|nil
on_use = nil,
--- default: nil