Skip to content

Commit

Permalink
issue #28: fixed NullPointerException that occured if the human player
Browse files Browse the repository at this point in the history
tries to play a hand game
  • Loading branch information
b0n541 committed Oct 10, 2014
1 parent 9b97423 commit ec33b51
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion jskat-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jskat</groupId>
<artifactId>jskat-multimodule</artifactId>
<version>0.14.1</version>
<version>0.14.2</version>
</parent>

<artifactId>jskat-base</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jskat-swing-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jskat</groupId>
<artifactId>jskat-multimodule</artifactId>
<version>0.14.1</version>
<version>0.14.2</version>
</parent>

<name>JSkat</name>
Expand Down
2 changes: 1 addition & 1 deletion jskat-swing-gui/src/main/java/org/jskat/JSkat.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class JSkat {

private static final Logger LOG = LoggerFactory.getLogger(JSkat.class);

private static final String VERSION = "0.14.1"; //$NON-NLS-1$
private static final String VERSION = "0.14.2"; //$NON-NLS-1$

/**
* Main method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,12 @@ public void startGame() {

private void resetPlayer() {
bidValue = 0;
holdBid = null;
playGrandHand = null;
callContra = null;
callRe = null;
holdBid = false;
playGrandHand = false;
callContra = false;
callRe = false;
gameAnnouncementStep = GameAnnouncementStep.BEFORE_ANNOUNCEMENT;
pickUpSkat = null;
pickUpSkat = false;
discardSkat = null;
gameAnnouncement = null;
nextCard = null;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<groupId>org.jskat</groupId>
<artifactId>jskat-multimodule</artifactId>
<version>0.14.1</version>
<version>0.14.2</version>
<name>Multi module for JSkat</name>
<packaging>pom</packaging>

Expand Down

0 comments on commit ec33b51

Please sign in to comment.