This commit is contained in:
2025-12-14 01:10:03 +01:00
parent 414ab90afc
commit 93c55dd482
3 changed files with 6 additions and 43 deletions

View File

@@ -577,18 +577,14 @@ namespace KCM.StateManagement.Sync
private static void BroadcastVillagerSnapshot()
{
// TEMPORARILY DISABLED: VillagerSnapshot causes packet overflow errors
// TODO: Fix villager synchronization properly
return;
if (!KCServer.IsRunning)
return;
// if (!KCServer.IsRunning)
// return;
if (KCServer.server.ClientCount == 0)
return;
// if (KCServer.server.ClientCount == 0)
// return;
// if (Villager.villagers == null || Villager.villagers.Count == 0)
// return;
if (Villager.villagers == null || Villager.villagers.Count == 0)
return;
List<Guid> guids = new List<Guid>();
List<Vector3> positions = new List<Vector3>();