mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix or suppress warnings
This commit is contained in:
@@ -1070,7 +1070,7 @@ public class CardView extends GameEntityView {
|
||||
}
|
||||
boolean needFlagAsChanged = false;
|
||||
for (Card c : cardsToAdd) {
|
||||
if (c !=null && oldCards.add(c)) {
|
||||
if (c != null && oldCards.add(c)) {
|
||||
if (views == null) {
|
||||
views = new TrackableCollection<CardView>();
|
||||
views.add(c.getView());
|
||||
|
||||
Reference in New Issue
Block a user