Part replacement instead of repair (#286)

Co-authored-by: Mike_be <[email protected]>
This commit is contained in:
KrepynandMike_be authored and GitHub committed 2026-05-30 21:03:02 +02:00
1 parent 7181b7f7e1
commit 5cb66f400b
1 file changed
+1 -1
@@ -22,7 +22,7 @@ public class ModifyBuilder {
boolean built = false;
for (ItemModifier mod : itemModifiers) {
if (mod.matches(modifiers, copy) && mod.validType(item)) {
if (mod.matches(modifiers, input) && mod.validType(item)) {
ModifyEvent event = new ModifyEvent(mod, item, copy);
MinecraftForge.EVENT_BUS.post(event);
if (event.isCanceled()) continue;