Example #1
0
 public void checkEnd() {
   if (warringNations.size() <= 1) toggleEnd();
   else if (plugin.getTownyUniverse().areAllAllies(warringNations)) toggleEnd();
 }
Example #2
0
 public void endWarEvent() {
   if (isWarTime()) warEvent.toggleEnd();
   // Automatically makes warEvent null
   setChangedNotify(WAR_END);
 }