Skip to content

Commit

Permalink
Removed var
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Dec 23, 2024
1 parent f9f094d commit 78c960c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xplat/src/main/java/dev/emi/emi/registry/EmiStackList.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static void reload() {
EmiLog.error(e);
}
};
var itemGroups = ItemGroups.getGroups();
List<ItemGroup> itemGroups = ItemGroups.getGroups();
// Category item groups must be updated before non-category ones, otherwise the search group will
// read outdated item lists
itemGroups.stream().filter(g -> g.getType() == ItemGroup.Type.CATEGORY).forEach(itemGroupConsumer);
Expand Down

0 comments on commit 78c960c

Please sign in to comment.