Added create, join and logging joins.

(cherry picked from commit 4ed964e292)
This commit is contained in:
Isaac authored and Aubri Seebauer committed 2023-04-09 21:12:21 -04:00
1 parent dadf7aa0c8
commit c46eb60e7d
3 files changed
+100 -242

No files matched your search

@@ -38,6 +38,18 @@ public class WarData
return wars;
}
/**
* Gets a war with a specific name
* @param name - Name to check
* @return War or Null
*/
public static War getWar(String name) {
for (War war : wars) {
if (war.getName().equalsIgnoreCase(name)) return war;
}
return null;
}
public static void setWars(ArrayList<War> wars) {
WarData.wars = wars;
}