mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Fix source of manapool for payment of second human
This commit is contained in:
@@ -70,7 +70,7 @@ public class CField implements ICDoc {
|
|||||||
|
|
||||||
final Function<Byte, Boolean> manaAction = new Function<Byte, Boolean>() {
|
final Function<Byte, Boolean> manaAction = new Function<Byte, Boolean>() {
|
||||||
@Override public final Boolean apply(final Byte colorCode) {
|
@Override public final Boolean apply(final Byte colorCode) {
|
||||||
if (CField.this.player.isLobbyPlayer(Singletons.getControl().getGuiPlayer())) {
|
if (player.getHasPriority()) {
|
||||||
final int oldMana = player.getMana(colorCode);
|
final int oldMana = player.getMana(colorCode);
|
||||||
matchUI.getGameController().useMana(colorCode.byteValue());
|
matchUI.getGameController().useMana(colorCode.byteValue());
|
||||||
return Boolean.valueOf(oldMana != player.getMana(colorCode));
|
return Boolean.valueOf(oldMana != player.getMana(colorCode));
|
||||||
|
|||||||
Reference in New Issue
Block a user