Removing error when running server where Creeping Mold would have a predicate error because 'inference variable T#1 has incompatible bounds' -- I don't fully understand the error, but at least this fix seems to work.

This commit is contained in:
Clint Herron 2017-04-19 22:31:02 -04:00
parent f461899eec
commit 30e0ef863d

View file

@ -117,7 +117,7 @@ public final class Predicates {
* @return
*/
public static <T> Predicate<T> or(Predicate<? super T>... components) {
return new OrPredicate<>(defensiveCopy(components));
return new OrPredicate<T>(defensiveCopy(components));
}
/**