|
|
@ -78,12 +78,12 @@ public class LinkedBeaconTeleporterManager {
|
|
|
|
placedLBTsById.put(teleporterId, linkedBeaconTeleporters);
|
|
|
|
placedLBTsById.put(teleporterId, linkedBeaconTeleporters);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Main.saveData();
|
|
|
|
|
|
|
|
|
|
|
|
Main.log.info("All done!");
|
|
|
|
Main.log.info("All done!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static void saveData(){
|
|
|
|
public static boolean saveData(){
|
|
|
|
Main.log.info("Saving data..");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Main.data = new YamlConfiguration();
|
|
|
|
Main.data = new YamlConfiguration();
|
|
|
|
for(String teleporterId : placedLBTsById.keySet()){
|
|
|
|
for(String teleporterId : placedLBTsById.keySet()){
|
|
|
|
List<LinkedBeaconTeleporter> LBTs = placedLBTsById.get(teleporterId);
|
|
|
|
List<LinkedBeaconTeleporter> LBTs = placedLBTsById.get(teleporterId);
|
|
|
@ -100,10 +100,7 @@ public class LinkedBeaconTeleporterManager {
|
|
|
|
|
|
|
|
|
|
|
|
Main.data.set(teleporterId, dataList);
|
|
|
|
Main.data.set(teleporterId, dataList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
Main.saveData();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Main.log.info("done");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void constructAndAddRecipes(){
|
|
|
|
static void constructAndAddRecipes(){
|
|
|
|