epic super

This commit is contained in:
Leijurv 2019-01-17 12:25:48 -08:00
parent aa3833915b
commit cef88cde20
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -49,7 +49,7 @@ public class MapArtSchematic extends Schematic {
}
}
private static <T> OptionalInt lastIndexMatching(T[] arr, Predicate<T> predicate) {
private static <T> OptionalInt lastIndexMatching(T[] arr, Predicate<? super T> predicate) {
for (int y = arr.length - 1; y >= 0; y--) {
if (predicate.test(arr[y])) {
return OptionalInt.of(y);