Skip to content

Commit c22f817

Browse files
Use actual map methods
1 parent f6ddb77 commit c22f817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/api/unification/material/properties/ExtraToolProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public OverrideToolProperty getOverrideProperty(String toolId) {
8282
}
8383

8484
public boolean hasOverrideProperty(String toolId) {
85-
return getOverrideProperty(toolId) != null;
85+
return this.overrideMap.containsKey(toolId);
8686
}
8787

8888
public ToolProperty getOverriddenResult(String toolId, @Nullable MaterialToolProperty materialToolProperty) {

0 commit comments

Comments
 (0)