MCPcopy Create free account
hub / github.com/Teneted/Tenet / equals

Method equals

src/main/java/net/minecraftforge/fml/OptionalMod.java:226–234  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

224 }
225
226 @Override
227 public boolean equals(Object obj)
228 {
229 if (this == obj) return true;
230 if (obj instanceof OptionalMod) {
231 return Objects.equals(((OptionalMod)obj).modId, modId);
232 }
233 return false;
234 }
235
236 @Override
237 public int hashCode()

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.65

Tested by

no test coverage detected