mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fixed FCollection: a Collection<? extends T> can only be turned into a List<? extends T>
This commit is contained in:
@@ -328,7 +328,7 @@ public class FCollection<T> implements List<T>, Set<T>, FCollectionView<T>, Clon
|
||||
return false;
|
||||
}
|
||||
|
||||
final List<T> list;
|
||||
final List<? extends T> list;
|
||||
if (c instanceof List) {
|
||||
list = (List<T>) c;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user