aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorLulonaut <lulonaut@tutanota.de>2022-12-27 14:53:51 +0100
committerLulonaut <lulonaut@tutanota.de>2022-12-27 14:53:51 +0100
commitb064aa64f82bb58047d7e50799b6199094a276ce (patch)
tree16d572c8efef0f808035c96903d9783ff1724ae0 /src/main/java/io
parent3a84ab3535e0472829fbe890ed603a4062689145 (diff)
downloadNotEnoughUpdates-b064aa64f82bb58047d7e50799b6199094a276ce.tar.gz
NotEnoughUpdates-b064aa64f82bb58047d7e50799b6199094a276ce.tar.bz2
NotEnoughUpdates-b064aa64f82bb58047d7e50799b6199094a276ce.zip
improvements to armor detection
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java
index ea5e13ab..e5c1b9ad 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java
@@ -201,7 +201,7 @@ public class ItemResolutionQuery {
return null;
}
- private String getInternalNameByDisplayName(String displayName) {
+ public static String getInternalNameByDisplayName(String displayName) {
String cleanDisplayName = StringUtils.cleanColour(displayName);
for (Map.Entry<String, JsonObject> entry : NotEnoughUpdates.INSTANCE.manager
.getItemInformation()