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