mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 10:36:17 +01:00
Added saving on create
This commit is contained in:
parent
ea55da453f
commit
40eba83468
@ -47,6 +47,7 @@ public class DestinationManager {
|
||||
}
|
||||
}
|
||||
this.destiHashMap.put(name, desti);
|
||||
AdvancedPortalsCore.getDestinationManager().saveDestinations();
|
||||
return desti;
|
||||
}
|
||||
|
||||
|
@ -172,6 +172,7 @@ public class PortalManager {
|
||||
}
|
||||
this.portalHashMap.put(name, portal);
|
||||
this.updatePortalArray();
|
||||
AdvancedPortalsCore.getPortalManager().savePortals();
|
||||
return portal;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user