mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix crash that can occur after earning an achievement
This commit is contained in:
@@ -2067,7 +2067,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final RegisteredPlayer getRegisteredPlayer() {
|
public final RegisteredPlayer getRegisteredPlayer() {
|
||||||
return game.getMatch().getPlayers().get(game.getPlayers().indexOf(this));
|
return game.getMatch().getPlayers().get(game.getRegisteredPlayers().indexOf(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
public final boolean isMindSlaved() {
|
public final boolean isMindSlaved() {
|
||||||
|
|||||||
Reference in New Issue
Block a user