mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Sol's fix to stop the AI from playing multiple lands.
This commit is contained in:
@@ -1738,7 +1738,7 @@ public abstract class Player extends GameEntity {
|
|||||||
public final boolean canPlayLand() {
|
public final boolean canPlayLand() {
|
||||||
|
|
||||||
final ViewTopLevel t = ((GuiTopLevel) AllZone.getDisplay()).getController().getMatchController().getView();
|
final ViewTopLevel t = ((GuiTopLevel) AllZone.getDisplay()).getController().getMatchController().getView();
|
||||||
if (t.getTabberController().getView().getLblUnlimitedLands().getEnabled()) {
|
if (t.getTabberController().getView().getLblUnlimitedLands().getEnabled() && this.isHuman()) {
|
||||||
return Phase.canCastSorcery(this);
|
return Phase.canCastSorcery(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user