Commit 82fbf918 authored by hengwen's avatar hengwen
Browse files

Get charging stations from world container

parent 1828fa1a
......@@ -149,7 +149,7 @@ public class SimulationControllerImpl extends SimControllerGrpc.SimControllerImp
this.mapInitialized = true;
for (ChargingStation cs: WorldModel.getInstance().getParser().getChargingStations()) {
for (ChargingStation cs: WorldModel.getInstance().getContainer().getChargingStations()) {
simulator.registerSimulationObject(cs);"Registered charging station" + cs.getName());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment