mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
Part replacement instead of repair (#286)
Co-authored-by: Mike_be <[email protected]>
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user