Small fix for loadColorSet.

This commit is contained in:
FrozenCow 2011-01-13 15:33:30 +01:00
parent 342a72f39f
commit ff5f96aa78

View File

@ -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");