aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimothée Floure2016-05-09 16:20:22 +0200
committerTimothée Floure2016-05-09 16:20:22 +0200
commitc12373535ca703ac2fbbd1d1775547b142d3970c (patch)
tree837130363e43b17b8c05b18ffb500abde94e396b /src
parent9850fe44401a1401aef5e6bbf683b507befa03dd (diff)
downloadxblast-c12373535ca703ac2fbbd1d1775547b142d3970c.tar.gz
FIx bug in GameState.Player (client) : the may be "null"
Diffstat (limited to 'src')
-rw-r--r--src/ch/epfl/xblast/client/GameState.java2
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 /**