mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
npe fix
This commit is contained in:
@@ -1825,7 +1825,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
}
|
||||
}
|
||||
|
||||
if( land.getOwner() != this )
|
||||
if( land != null && land.getOwner() != this )
|
||||
return false;
|
||||
|
||||
// Dev Mode
|
||||
|
||||
Reference in New Issue
Block a user