Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Angeschossen committed Jan 15, 2024
1 parent b026286 commit f8c7c72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/me/angeschossen/lands/api/war/WarState.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public interface WarState {

@NotNull WarTeam getTeam(MemberHolder entity);


double getMaxTribute(WarTeam warTeam);

float getPointsToWin();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ public interface WarHandler {
* Get all wars from the database. This is called sync at plugin startup to ensure all data is ready before players join,
* but is never called after the server started.
*
* @param wars All current wars in the Lands database. You can use these instances to make your wars based on their functionality.
* @return all active wars
*/
@NotNull
Collection<? extends War> getAllWarsFromDatabase();
Collection<? extends War> getAllWarsFromDatabase(Collection<? extends War> wars);

/**
* Delete a war from your database.
*
* @param war the war to delete
* @return async completeable future
*/
Expand Down

0 comments on commit f8c7c72

Please sign in to comment.