Merge branch 'master' into CrypticSpire

This commit is contained in:
kevlahnota
2024-11-16 17:14:51 +08:00
committed by GitHub
31 changed files with 141 additions and 156 deletions

View File

@@ -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");