SyncController

This commit is contained in:
Kam committed 2025-01-30 09:26:10 -05:00
1 parent ee8527f261
commit fb496ce1e2
12 files changed
+24 -53

No files matched your search

@@ -1,6 +1,6 @@
package noppes.npcs.controllers;
import kamkeel.npcs.controllers.SyncMaster;
import kamkeel.npcs.controllers.SyncController;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
@@ -206,11 +206,11 @@ public class RecipeController implements IRecipeHandler {
return null;
RecipeCarpentry globalRecipe = globalRecipes.remove(recipe.id);
if(globalRecipe != null)
SyncMaster.syncAllWorkbenchRecipes();
SyncController.syncAllWorkbenchRecipes();
RecipeCarpentry carpentry = carpentryRecipes.remove(recipe.id);
if(carpentry != null)
SyncMaster.syncAllWorkbenchRecipes();
SyncController.syncAllWorkbenchRecipes();
saveCategories();
reloadGlobalRecipes(globalRecipes);