14 |
private HashMap<Location,Door> doormap = new HashMap<Location,Door>(); |
private HashMap<Location,Door> doormap = new HashMap<Location,Door>(); |
15 |
private LinkedList<Door> doors = new LinkedList<Door>(); |
private LinkedList<Door> doors = new LinkedList<Door>(); |
16 |
|
|
17 |
Plugin plugin; |
private Plugin plugin; |
18 |
|
|
19 |
public DoorStorage(Plugin plugin) { |
public DoorStorage(Plugin plugin) { |
20 |
this.plugin = plugin; |
this.plugin = plugin; |
68 |
} |
} |
69 |
in.close(); |
in.close(); |
70 |
|
|
71 |
|
System.out.println("[SecretDoor] loaded " + doors.size() + " doors"); |
72 |
|
|
73 |
} |
} |
74 |
catch (FileNotFoundException fnfe) { |
catch (FileNotFoundException fnfe) { |
75 |
|
System.out.println("[SecretDoor] door file not found"); |
76 |
return; |
return; |
77 |
} |
} |
78 |
catch (IOException e) { |
catch (IOException e) { |