diff options
-rw-r--r-- | src/ch/epfl/xblast/server/GameState.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/server/GameState.java b/src/ch/epfl/xblast/server/GameState.java index 0d381db..fefaf02 100644 --- a/src/ch/epfl/xblast/server/GameState.java +++ b/src/ch/epfl/xblast/server/GameState.java | |||
@@ -548,7 +548,7 @@ public final class GameState { | |||
548 | 548 | ||
549 | return this.currentPlayerPriorityOrder().stream() | 549 | return this.currentPlayerPriorityOrder().stream() |
550 | .filter(claimants::contains) | 550 | .filter(claimants::contains) |
551 | .findFirst().get(); | 551 | .findFirst().orElse(null); |
552 | } | 552 | } |
553 | 553 | ||
554 | /** | 554 | /** |