mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-02-18 05:11:24 +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.
|
* Load the default data into the portals.
|
||||||
*/
|
*/
|
||||||
public void loadPortals() {
|
public void loadPortals() {
|
||||||
Type type = new TypeToken<Map<String, AdvancedPortal>>() {
|
Type type = new TypeToken<HashMap<String, AdvancedPortal>>() {
|
||||||
}.getType();
|
}.getType();
|
||||||
this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json");
|
this.portalHashMap = this.portalsCore.getDataStorage().loadJson(type, "portals.json");
|
||||||
if (this.portalHashMap == null) {
|
if (this.portalHashMap == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user