mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 10:45:27 +02:00
Attachments: Fix attachments to temporary removed objects (#8989)
Does not clear the parent's attachment information when the child is deleted locally. Either it was removed permanently, or just temporary - we don't know, but it's up to the server to send a *detach from child" packet for the parent.
This commit is contained in:
@@ -156,6 +156,11 @@ public:
|
||||
|
||||
const v3f getPosition() const;
|
||||
|
||||
void setPosition(const v3f &pos)
|
||||
{
|
||||
pos_translator.val_current = pos;
|
||||
}
|
||||
|
||||
inline const v3f &getRotation() const { return m_rotation; }
|
||||
|
||||
const bool isImmortal();
|
||||
|
Reference in New Issue
Block a user