Created
August 23, 2016 20:55
-
-
Save StillManic/7ca96b59fd1bb51c99c2b5dc0a7ab671 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File savesDir = FMLClientHandler.instance().getSavesDir(); | |
TransitMod.logger.printf(Level.INFO, "saves dir: %s, exists: %b", savesDir.getAbsolutePath(), savesDir.exists()); | |
File test = new File(TransitMod.class.getResource("/assets/").getPath()); | |
TransitMod.logger.printf(Level.INFO, "test: %s, exists: %b", test.getAbsolutePath(), test.exists()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
saves dir: C:\Users\Gerald\Documents\Bitbucket\Transit Authority\Transit Mod\run\.\saves, exists: true | |
test: C:\Users\Gerald\Documents\Bitbucket\Transit%20Authority\Transit%20Mod\classes\production\Transit_Mod_main\assets, exists: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment