From d287f51d3ac05c5bc9da32c651cadc43084594c5 Mon Sep 17 00:00:00 2001 From: copygirl Date: Sat, 30 Jul 2022 20:25:47 +0200 Subject: [PATCH] Properly disable duplicate copper recipes --- .../unification/copper_tools_and_armor.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kubejs/server_scripts/unification/copper_tools_and_armor.js b/kubejs/server_scripts/unification/copper_tools_and_armor.js index 9eeb978..d2737c9 100644 --- a/kubejs/server_scripts/unification/copper_tools_and_armor.js +++ b/kubejs/server_scripts/unification/copper_tools_and_armor.js @@ -1,14 +1,14 @@ // priority: 0 onEvent("recipes", event => { - event.remove({ id: "create_stuff_additions:copper_pickaxe_recipe" }); - event.remove({ id: "create_stuff_additions:copper_axe_recipe" }); - event.remove({ id: "create_stuff_additions:copper_sword_recipe" }); - event.remove({ id: "create_stuff_additions:copper_shovel_recipe" }); - event.remove({ id: "create_stuff_additions:copper_hoe_recipe" }); + event.remove({ output: "create_stuff_additions:copper_pickaxe" }); + event.remove({ output: "create_stuff_additions:copper_axe" }); + event.remove({ output: "create_stuff_additions:copper_sword" }); + event.remove({ output: "create_stuff_additions:copper_shovel" }); + event.remove({ output: "create_stuff_additions:copper_hoe" }); - event.remove({ id: "create_stuff_additions:copper_armor_helmet_recipe" }); - event.remove({ id: "create_stuff_additions:copper_armor_chestplate_recipe" }); - event.remove({ id: "create_stuff_additions:copper_armor_leggings_recipe" }); - event.remove({ id: "create_stuff_additions:copper_armor_boots_recipe" }); + event.remove({ output: "create_stuff_additions:copper_armor_helmet" }); + event.remove({ output: "create_stuff_additions:copper_armor_chestplate" }); + event.remove({ output: "create_stuff_additions:copper_armor_leggings" }); + event.remove({ output: "create_stuff_additions:copper_armor_boots" }); });