Fix player index in PlayerActionMessage

This commit is contained in:
thispixel
2015-03-12 14:31:47 +00:00
parent 5286e3a5cf
commit 9c0cf17141
@@ -29,7 +29,7 @@ public abstract class PlayerActionMessage extends Message {
*/
public PlayerActionMessage(int option, int playerIndex) {
this.option = option;
this.index = playerIndex;
this.index = playerIndex - 1;
}
/**