mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Omit metadata
This commit is contained in:
parent
35a0b9e9f6
commit
e9e0cfcfd3
1 changed files with 4 additions and 2 deletions
|
@ -377,8 +377,10 @@ function core.item_drop(itemstack, dropper, pos)
|
|||
obj:set_velocity(dir)
|
||||
obj:get_luaentity().dropped_by = dropper:get_player_name()
|
||||
|
||||
core.log("action", dropper:get_player_name() .. " dropped " ..
|
||||
item:to_string() .. " at " .. core.pos_to_string(p, 1))
|
||||
core.log("action", string.format("%s dropped %s %i at %s",
|
||||
dropper_is_player and dropper:get_player_name() or "A mod",
|
||||
item:get_name(), item:get_count(),
|
||||
core.pos_to_string(p, 1)))
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue