Added saving on create

This commit is contained in:
sekwah 2018-02-22 03:17:16 +00:00 committed by Sekwah
parent ea55da453f
commit 40eba83468
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public class DestinationManager {
}
}
this.destiHashMap.put(name, desti);
AdvancedPortalsCore.getDestinationManager().saveDestinations();
return desti;
}

View File

@ -172,6 +172,7 @@ public class PortalManager {
}
this.portalHashMap.put(name, portal);
this.updatePortalArray();
AdvancedPortalsCore.getPortalManager().savePortals();
return portal;
}