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