master #6

Merged
BRNSystems merged 85 commits from Mirrorlandia_minetest/minetest:master into master 2024-01-09 17:53:52 +01:00
Showing only changes of commit 3c60d359ed - Show all commits

@ -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 attached, check that our parent is still there. If it isn't, detach.
if (m_attachment_parent_id && !isAttached()) { if (m_attachment_parent_id && !isAttached()) {
// This is handled when objects are removed from the map // This is handled when objects are removed from the map
warningstream << "LuaEntitySAO::step() " << m_init_name << " at: " << PP(m_last_sent_position) << ", id=" << m_id << warningstream << "LuaEntitySAO::step() " << m_init_name << " at " << m_last_sent_position << ", id=" << m_id <<
" is attached to nonexistent parent. This is a bug." << std::endl; " is attached to nonexistent parent. This is a bug." << std::endl;
clearParentAttachment(); clearParentAttachment();
sendPosition(false, true); sendPosition(false, true);