mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 08:45:11 +00:00
Smaller Sync Packets for Quest / Dialog / Faction Data
This commit is contained in:
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()){
|
||||
|
||||
Reference in new issue
Block a user