forked from External/mage
Reworked some card movement handling (#4866).
This commit is contained in:
parent
08b9f61749
commit
e2f22d3bc9
19 changed files with 199 additions and 198 deletions
|
|
@ -655,6 +655,15 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't use this in normal card code, it's for more internal use. Always
|
||||
* use the [Player].moveCards methods if possible for card movement of card
|
||||
* code.
|
||||
*
|
||||
* @param card
|
||||
* @param game
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public boolean putInHand(Card card, Game game) {
|
||||
if (card.getOwnerId().equals(playerId)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue