Skip to content

Commit

Permalink
fix accessory bag overlay bug (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
efefury authored Aug 21, 2023
1 parent c90c4c0 commit c162193
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,16 @@ public static void renderMissingOverlay(int x, int y) {
missing = new ArrayList<>();

List<String> missingInternal = new ArrayList<>();

List<String> ignoredTalisman = new ArrayList<>();
if (misc.has("ignored_talisman")) {
for (JsonElement jsonElement : misc.getAsJsonArray("ignored_talisman")) {
ignoredTalisman.add(jsonElement.getAsString());
}
}

for (Map.Entry<String, JsonObject> entry : NotEnoughUpdates.INSTANCE.manager.getItemInformation().entrySet()) {
if (ignoredTalisman.contains(entry.getValue().get("internalname").getAsString())) continue;
if (entry.getValue().has("lore")) {
if (checkItemType(
entry.getValue().get("lore").getAsJsonArray(),
Expand Down

0 comments on commit c162193

Please sign in to comment.