mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-25 12:06:17 +01:00
Updated casting data
This commit is contained in:
parent
d1375c9cea
commit
db3db06ad5
@ -64,7 +64,7 @@ public class PortalManager {
|
||||
* Load the default data into the portals.
|
||||
*/
|
||||
public void loadPortals() {
|
||||
Type type = new TypeToken<Map<String, AdvancedPortal>>() {
|
||||
Type type = new TypeToken<HashMap<String, AdvancedPortal>>() {
|
||||
}.getType();
|
||||
this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json");
|
||||
if (this.portalHashMap == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user