1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

Fix static_save=false not working & related cleanups

This commit is contained in:
sfan5
2024-03-01 20:46:07 +01:00
parent ef0009aea7
commit 2386bfda7e
4 changed files with 21 additions and 16 deletions

View File

@@ -25,6 +25,7 @@ StaticObject::StaticObject(const ServerActiveObject *s_obj, const v3f &pos_):
type(s_obj->getType()),
pos(pos_)
{
assert(s_obj->isStaticAllowed());
s_obj->getStaticData(&data);
}