OSDN Git Service

Suppress redundant access to BBS.
[jindolf/Jindolf.git] / src / main / java / jp / sfjp / jindolf / Controller.java
index db179b0..28943b9 100644 (file)
@@ -1301,7 +1301,9 @@ public class Controller
 
             if(wasHot && ! period.isHot() ){
                 try{
-                    VillageInfoLoader.updateVillageInfo(village);
+                    if( ! village.hasSchedule() ){
+                        VillageInfoLoader.updateVillageInfo(village);
+                    }
                 }catch(IOException e){
                     showNetworkError(village, e);
                     return;
@@ -1414,7 +1416,9 @@ public class Controller
 
         Runnable task = () -> {
             try{
-                VillageInfoLoader.updateVillageInfo(village);
+                if( ! village.hasSchedule() ){
+                    VillageInfoLoader.updateVillageInfo(village);
+                }
             }catch(IOException e){
                 showNetworkError(village, e);
                 return;