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

@@ -208,10 +208,6 @@ public class RecipeController implements IRecipeHandler {
return null;
globalRecipes.remove(recipe.id);
anvilRecipes.remove(recipe.id);
if(recipe.isGlobal)
Server.sendToAll(EnumPacketClient.SYNC_REMOVE, SyncType.RECIPE_NORMAL, id);
else
Server.sendToAll(EnumPacketClient.SYNC_REMOVE, SyncType.RECIPE_CARPENTRY, id);
saveCategories();
reloadGlobalRecipes(globalRecipes);
return recipe;