mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-07 19:30:48 +01:00
Add Game#isFinished() method
This commit is contained in:
parent
0f4e28355e
commit
7bc16b9aff
@ -423,6 +423,10 @@ public class Game {
|
||||
}.runTaskLater(plugin, delay * 20);
|
||||
}
|
||||
|
||||
public boolean isFinished() {
|
||||
return dGroups.stream().allMatch(DGroup::isFinished);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param message the message to send
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user