Fix an nPE
This commit is contained in:
parent
1d951fb5cf
commit
cea9a85f2b
@ -99,7 +99,7 @@ public class Board extends Entity<Board> implements BoardInterface
|
||||
{
|
||||
if (ps == null) return null;
|
||||
TerritoryAccess ta = this.getTerritoryAccessAt(ps);
|
||||
return ta.getHostFaction(ps);
|
||||
return ta.getHostFaction(this);
|
||||
}
|
||||
|
||||
// SET
|
||||
|
@ -27,7 +27,6 @@ public abstract class XColls<C extends Coll<E>, E> extends Colls<C, E>
|
||||
String universe = ((Coll<?>)o).getUniverse();
|
||||
if (universe == null) return null;
|
||||
return this.getForUniverse(universe);
|
||||
|
||||
}
|
||||
|
||||
if (SenderUtil.isNonplayer(o))
|
||||
|
Loading…
Reference in New Issue
Block a user