mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-09-03 19:50:27 +02:00
Updated some info on hashmaps
This commit is contained in:
parent
420139551e
commit
dbfead2d49
|
@ -31,10 +31,10 @@ public class PortalManager {
|
|||
/**
|
||||
* 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> portalSelectorRightClick = new HashMap();
|
||||
private HashMap<String, PortalLocation> portalSelectorLeftClick = new HashMap<>();
|
||||
private HashMap<String, PortalLocation> portalSelectorRightClick = new HashMap<>();
|
||||
|
||||
/**
|
||||
* Contains all the data for the portals
|
||||
|
|
|
@ -83,7 +83,7 @@ public class DataStorage {
|
|||
}
|
||||
if (!outFile.exists() || overwrite) {
|
||||
try {
|
||||
InputStream inputStream = DataStorage.class.getClassLoader().getResourceAsStream(fileLoc);
|
||||
InputStream inputStream = DataStorage.class.getResourceAsStream(fileLoc);
|
||||
if(inputStream == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user