diff options
author | Timothée Floure | 2016-05-09 16:20:22 +0200 |
---|---|---|
committer | Timothée Floure | 2016-05-09 16:20:22 +0200 |
commit | c12373535ca703ac2fbbd1d1775547b142d3970c (patch) | |
tree | 837130363e43b17b8c05b18ffb500abde94e396b /src/ch | |
parent | 9850fe44401a1401aef5e6bbf683b507befa03dd (diff) | |
download | xblast-c12373535ca703ac2fbbd1d1775547b142d3970c.tar.gz |
FIx bug in GameState.Player (client) : the may be "null"
Diffstat (limited to 'src/ch')
-rw-r--r-- | src/ch/epfl/xblast/client/GameState.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/client/GameState.java b/src/ch/epfl/xblast/client/GameState.java index 7652cd5..2ac27e3 100644 --- a/src/ch/epfl/xblast/client/GameState.java +++ b/src/ch/epfl/xblast/client/GameState.java | |||
@@ -41,7 +41,7 @@ public final class GameState { | |||
41 | this.id = id; | 41 | this.id = id; |
42 | this.lives = lives; | 42 | this.lives = lives; |
43 | this.position = Objects.requireNonNull(position); | 43 | this.position = Objects.requireNonNull(position); |
44 | this.image = Objects.requireNonNull(image); | 44 | this.image = image; |
45 | } | 45 | } |
46 | 46 | ||
47 | /** | 47 | /** |