mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Small fix for loadColorSet.
This commit is contained in:
parent
342a72f39f
commit
ff5f96aa78
@ -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…
Reference in New Issue
Block a user