This commit is contained in:
piebot
2026-03-16 02:04:53 +03:00
parent 1cc46a5e91
commit b26d5e2a4f
49 changed files with 1127 additions and 141 deletions
+1
View File
@@ -67,6 +67,7 @@ void EntityTracker::addEntity(shared_ptr<Entity> e)
else if (e->instanceof(eTYPE_EXPERIENCEORB)) addEntity(e, 16 * 10, 20, true);
else if (e->instanceof(eTYPE_ENDER_CRYSTAL)) addEntity(e, 16 * 16, INT_MAX, false);
else if (e->instanceof(eTYPE_ITEM_FRAME)) addEntity(e, 16 * 10, INT_MAX, false);
else if (e->instanceof(eTYPE_ARMORSTAND)) addEntity(e, 16 * 4, 1, true);
}
void EntityTracker::addEntity(shared_ptr<Entity> e, int range, int updateInterval)