mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-24 17:47:40 +01:00
Avoid initial ERROR when no markers.yml file (first installation)
This commit is contained in:
parent
f40cc3d6ca
commit
d5354898cb
@ -80,7 +80,8 @@ public class ConfigurationNode implements Map<String, Object> {
|
||||
@SuppressWarnings("unchecked")
|
||||
public boolean load() {
|
||||
initparse();
|
||||
|
||||
// If no file to read, just return false
|
||||
if (!f.canRead()) { return false; }
|
||||
FileInputStream fis = null;
|
||||
try {
|
||||
fis = new FileInputStream(f);
|
||||
|
Loading…
Reference in New Issue
Block a user