mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fix so card text shows up properly in details pane
This commit is contained in:
@@ -176,15 +176,12 @@ public class PlayArea extends CardPanelContainer implements CardPanelMouseListen
|
||||
break;
|
||||
}
|
||||
|
||||
final String text = state.getText();
|
||||
final String firstText = firstState.getText();
|
||||
|
||||
if (!panel.getAttachedPanels().isEmpty()
|
||||
|| !card.hasSameCounters(firstPanel.getCard())
|
||||
|| (card.isSick() != firstCard.isSick())
|
||||
|| (state.getPower() != firstState.getPower())
|
||||
|| (state.getToughness() != firstState.getToughness())
|
||||
|| !(text.equals(firstText))
|
||||
|| !(card.getText().equals(firstCard.getText()))
|
||||
|| (stack.size() == tokenStackMax)) {
|
||||
// If this token has attachments or the stack is full,
|
||||
// put it to the right.
|
||||
|
||||
Reference in New Issue
Block a user