mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fixed a NPE in canPlayLand AI.
This commit is contained in:
@@ -1833,7 +1833,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
//Gaea's Touch
|
||||
int adjMaxForests = 0;
|
||||
int forestsPlayed = this.numBasicForestsPlayed;
|
||||
if (land.isBasicLand() && land.isType("Forest"))
|
||||
if (land != null && land.isBasicLand() && land.isType("Forest"))
|
||||
forestsPlayed++;
|
||||
|
||||
for (String keyword : this.getKeywords()) {
|
||||
|
||||
Reference in New Issue
Block a user