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