예제 #1
0
파일: War.java 프로젝트: adegie/Towny
 public void checkEnd() {
   if (warringNations.size() <= 1) toggleEnd();
   else if (plugin.getTownyUniverse().areAllAllies(warringNations)) toggleEnd();
 }
예제 #2
0
 public void endWarEvent() {
   if (isWarTime()) warEvent.toggleEnd();
   // Automatically makes warEvent null
   setChangedNotify(WAR_END);
 }