mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +00:00
Fix player index in PlayerActionMessage
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user