mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +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