mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Warning: inform about entity name when bug detected about attachement (#13354)
This commit is contained in:
parent
d1a55e9ca4
commit
e7be135b78
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ void LuaEntitySAO::step(float dtime, bool send_recommended)
|
|||
// If attached, check that our parent is still there. If it isn't, detach.
|
||||
if (m_attachment_parent_id && !isAttached()) {
|
||||
// This is handled when objects are removed from the map
|
||||
warningstream << "LuaEntitySAO::step() id=" << m_id <<
|
||||
warningstream << "LuaEntitySAO::step() " << m_init_name << " at: " << PP(m_last_sent_position) << ", id=" << m_id <<
|
||||
" is attached to nonexistent parent. This is a bug." << std::endl;
|
||||
clearParentAttachment();
|
||||
sendPosition(false, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue