Small fix for loadColorSet.
This commit is contained in:
parent
342a72f39f
commit
ff5f96aa78
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ public class KzedMap extends Map {
|
|||
try {
|
||||
/* load colorset */
|
||||
File cfile = new File(colorsetpath);
|
||||
if (cfile.exists()) {
|
||||
if (cfile.isFile()) {
|
||||
stream = new FileInputStream(cfile);
|
||||
} else {
|
||||
stream = KzedMap.class.getResourceAsStream("/colors.txt");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue