diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/esieequest/model/Game.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/esieequest/model/Game.java b/src/esieequest/model/Game.java index eb74f85..59b4a32 100644 --- a/src/esieequest/model/Game.java +++ b/src/esieequest/model/Game.java | |||
@@ -218,7 +218,7 @@ public class Game { | |||
218 | } | 218 | } |
219 | 219 | ||
220 | public String getItemDescription() { | 220 | public String getItemDescription() { |
221 | if (this.currentRoom != null) { | 221 | if (this.currentRoom.getItem() != null) { |
222 | return "This room contain : " + this.currentRoom.getItem().getDescription(); | 222 | return "This room contain : " + this.currentRoom.getItem().getDescription(); |
223 | } else { | 223 | } else { |
224 | return ""; | 224 | return ""; |