Skip to content

Commit

Permalink
Fix handler ordering config (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
kstvr32 authored Nov 29, 2024
1 parent a0e1683 commit 3f3c179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/codechicken/nei/ClientHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public static void loadHandlerOrdering() {
} catch (IOException e) {}
}, lines -> lines.map(line -> line.split(COMMA_DELIMITER)).filter(parts -> parts.length == 2).forEach(parts -> {
String handlerId = parts[0];
int ordering = Integer.getInteger(parts[1], 0);
int ordering = Integer.parseInt(parts[1]);
NEIClientConfig.handlerOrdering.put(handlerId, ordering);
}));
}
Expand Down

0 comments on commit 3f3c179

Please sign in to comment.