mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-25 14:24:44 +00:00
Fix broken Flux-Modifier check, allowing to get into negative modifiers.
This commit is contained in:
1 parent
54bae15a30
commit
c80761ffdf
1 file changed
+5
@@ -12,6 +12,11 @@ public class ModFluxExpensive extends ModFlux {
|
||||
this.batteries = batteries;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(ItemStack[] input, ItemStack tool) {
|
||||
return super.matches(input, tool) && canModify(tool, input);
|
||||
}
|
||||
|
||||
// needs 2 modifiers
|
||||
@Override
|
||||
protected boolean canModify(ItemStack tool, ItemStack[] input) {
|
||||
|
||||
Reference in new issue
Block a user