Skip to content

Commit

Permalink
Remove leftover newline in extensions.idx
Browse files Browse the repository at this point in the history
For when you're using windows newlines, it left \r in the line
  • Loading branch information
Arnuh committed Feb 3, 2024
1 parent be2e575 commit 9367e9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private void refreshPlugins(){
try(InputStream is = url.openStream()){
for(String line : new String(is.readAllBytes()).split("\n")){
if(line.startsWith("#")) continue;
clazzes.add(cl.loadClass(line));
clazzes.add(cl.loadClass(line.replace("\n", "").replace("\r", "")));
}
}
}
Expand Down

0 comments on commit 9367e9c

Please sign in to comment.