Changeset 4d8825f in lost-haven for main/Map.java


Ignore:
Timestamp:
Feb 22, 2021, 2:07:11 AM (4 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
3d64884
Parents:
b2d7893
Message:

Add logic to make text files readable from inside a JAR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/Map.java

    rb2d7893 r4d8825f  
    6868          }
    6969        }
    70         BufferedReader in = new BufferedReader(new FileReader(structFile));
     70        BufferedReader in = Utils.loadTextFile(structFile);
    7171        String str;
    7272        while ((str = in.readLine()) != null) {
Note: See TracChangeset for help on using the changeset viewer.