Smaller Sync Packets for Quest / Dialog / Faction Data

This commit is contained in:
Kam committed 2024-03-13 03:33:46 -04:00
1 parent b3846e32c8
commit 8c3b46d4f4
10 files changed
+267 -94

No files matched your search

@@ -177,8 +177,8 @@ public class QuestController implements IQuestHandler {
dir.mkdirs();
}
categories.put(category.id, category);
Server.sendToAll(EnumPacketClient.SYNC_UPDATE, SyncType.QUEST_CATEGORY, category.writeNBT(new NBTTagCompound()));
}
SyncController.updateQuestCat(category);
}
private boolean containsCategoryName(String name) {
name = name.toLowerCase();
for(QuestCategory cat : categories.values()){