mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-29 05:55:19 +01:00
Updated some info on hashmaps
This commit is contained in:
parent
fb6700c667
commit
132e895d53
@ -31,10 +31,10 @@ public class PortalManager {
|
|||||||
/**
|
/**
|
||||||
* Tracks the name of portal a player has selected
|
* Tracks the name of portal a player has selected
|
||||||
*/
|
*/
|
||||||
private HashMap<String, String> selectedPortal = new HashMap();
|
private HashMap<String, String> selectedPortal = new HashMap<>();
|
||||||
|
|
||||||
private HashMap<String, PortalLocation> portalSelectorLeftClick = new HashMap();
|
private HashMap<String, PortalLocation> portalSelectorLeftClick = new HashMap<>();
|
||||||
private HashMap<String, PortalLocation> portalSelectorRightClick = new HashMap();
|
private HashMap<String, PortalLocation> portalSelectorRightClick = new HashMap<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains all the data for the portals
|
* Contains all the data for the portals
|
||||||
|
@ -83,7 +83,7 @@ public class DataStorage {
|
|||||||
}
|
}
|
||||||
if (!outFile.exists() || overwrite) {
|
if (!outFile.exists() || overwrite) {
|
||||||
try {
|
try {
|
||||||
InputStream inputStream = DataStorage.class.getClassLoader().getResourceAsStream(fileLoc);
|
InputStream inputStream = DataStorage.class.getResourceAsStream(fileLoc);
|
||||||
if(inputStream == null) {
|
if(inputStream == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user