Skip to content

Commit 3f3c179

Browse files
authored
Fix handler ordering config (#560)
1 parent a0e1683 commit 3f3c179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/codechicken/nei/ClientHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public static void loadHandlerOrdering() {
250250
} catch (IOException e) {}
251251
}, lines -> lines.map(line -> line.split(COMMA_DELIMITER)).filter(parts -> parts.length == 2).forEach(parts -> {
252252
String handlerId = parts[0];
253-
int ordering = Integer.getInteger(parts[1], 0);
253+
int ordering = Integer.parseInt(parts[1]);
254254
NEIClientConfig.handlerOrdering.put(handlerId, ordering);
255255
}));
256256
}

0 commit comments

Comments
 (0)