Skip to content

Commit

Permalink
Add BufferedReader
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeprimm committed Sep 20, 2023
1 parent 636fe40 commit 7e41a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DynmapCore/src/main/java/org/dynmap/hdmap/TexturePack.java
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,7 @@ private static void loadTextureFile(InputStream txtfile, String txtname, Configu
Map<DynmapBlockState, BitSet> bsprslt;
try {
String line;
rdr = new LineNumberReader(new InputStreamReader(txtfile));
rdr = new LineNumberReader(new BufferedReader(new InputStreamReader(txtfile)));
while((line = rdr.readLine()) != null) {
boolean skip = false;
int lineNum = rdr.getLineNumber();
Expand Down

0 comments on commit 7e41a86

Please sign in to comment.