From c12373535ca703ac2fbbd1d1775547b142d3970c Mon Sep 17 00:00:00 2001 From: Timothée Floure Date: Mon, 9 May 2016 16:20:22 +0200 Subject: FIx bug in GameState.Player (client) : the may be "null" --- src/ch/epfl/xblast/client/GameState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { this.id = id; this.lives = lives; this.position = Objects.requireNonNull(position); - this.image = Objects.requireNonNull(image); + this.image = image; } /** -- cgit v1.2.3