Effects System: apply effects with reason & theirs physics with reason. Closes lord-server/lord#1830
This commit is contained in:
@@ -183,7 +183,7 @@ local ItemDefinition = {
|
|||||||
--- Otherwise, the function is free to do what it wants.
|
--- Otherwise, the function is free to do what it wants.
|
||||||
--- The user may be any ObjectRef or nil.
|
--- The user may be any ObjectRef or nil.
|
||||||
--- The default functions handle regular use cases.
|
--- 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,
|
on_use = nil,
|
||||||
|
|
||||||
--- default: nil
|
--- default: nil
|
||||||
|
|||||||
Reference in New Issue
Block a user