migrated to jackson
This commit is contained in:
@@ -76,7 +76,7 @@ public final class Game extends BaseState {
|
||||
}
|
||||
}
|
||||
} else if (observerMessage instanceof HandMessage hand) {
|
||||
hands.put(hand.getPlayer(), hand.getHand());
|
||||
hands.put(hand.getPlayer(), new ArrayList<>(hand.getHand()));
|
||||
if (hand.getPlayer().equals(self)) {
|
||||
client.printfln("Your hand cards are: %s", hand.getHand());
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user