This equates to this == o which is the same as super

This commit is contained in:
koolkrafter5 committed 2025-08-18 05:30:17 -04:00
1 parent 21f5f6857d
commit b6c10e52d2
1 file changed
-4
@@ -38,8 +38,4 @@ public class Reagent {
return colourIntensity;
}
@Override
public boolean equals(Object o) {
return o instanceof Reagent && this == o && name.equals(((Reagent) o).name);
}
}