Restore variance
This commit is contained in:
Leo40Git
2021-07-01 15:52:49 +03:00
parent b644d103fa
commit f019deb815
4 changed files with 20 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ public final class FoodPropertiesHooks {
@ExpectPlatform
public static void effect(FoodProperties.Builder builder,
Supplier<MobEffectInstance> effectSupplier, float chance) {
Supplier<? extends MobEffectInstance> effectSupplier, float chance) {
throw new AssertionError();
}
}