mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Some fixes (#6575)
This commit is contained in:
@@ -78,9 +78,8 @@ public class CCombat implements ICDoc {
|
||||
}
|
||||
|
||||
display.append("\n");
|
||||
PlayerView controller = null;
|
||||
if (defender instanceof CardView) {
|
||||
controller = ((CardView) defender).getController();
|
||||
PlayerView controller = ((CardView) defender).getController();
|
||||
if (controller == null)
|
||||
//shouldn't be null but display card's + controller ie Black Knight's controller
|
||||
display.append(Lang.getInstance().getPossesive(defender.getName())).append(" controller");
|
||||
|
||||
Reference in New Issue
Block a user