Skip to content

Commit b00c427

Browse files
avaruus1aromaa
andauthored
Add missing wildcards
Co-authored-by: Joni Aromaa <[email protected]>
1 parent f3d8cc5 commit b00c427

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/org/spongepowered/api/data

1 file changed

+2
-2
lines changed

src/main/java/org/spongepowered/api/data/Keys.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3073,7 +3073,7 @@ public final class Keys {
30733073
/**
30743074
* The amount of attack damage a shield-like {@link ItemStack} reduces for certain {@link DamageType}s
30753075
*/
3076-
public static final Key<ListValue<ShieldDamageReduction>> SHIELD_DAMAGE_REDUCTIONS = Keys.listKey(ResourceKey.sponge("shield_damage_reductions"), ShieldDamageReduction.class);
3076+
public static final Key<ListValue<ShieldDamageReduction<?>>> SHIELD_DAMAGE_REDUCTIONS = Keys.listKey(ResourceKey.sponge("shield_damage_reductions"), ShieldDamageReduction.class);
30773077

30783078
/**
30793079
* The amount of {@link Ticks} player must use this shield-like {@link ItemStack} for to block attacks successfully.
@@ -3088,7 +3088,7 @@ public final class Keys {
30883088
/**
30893089
* Function for the amount of {@link Keys#ITEM_DURABILITY} damage a shield-like {@link ItemStack} takes when blocking an attack.
30903090
*/
3091-
public static final Key<Value<ShieldItemDamageFunction>> SHIELD_ITEM_DAMAGE_FUNCTION = Keys.key(ResourceKey.sponge("shield_item_damage_function"), ShieldItemDamageFunction.class);
3091+
public static final Key<Value<ShieldItemDamageFunction<?>>> SHIELD_ITEM_DAMAGE_FUNCTION = Keys.key(ResourceKey.sponge("shield_item_damage_function"), ShieldItemDamageFunction.class);
30923092

30933093
/**
30943094
* The shooter of a {@link Projectile}.

0 commit comments

Comments
 (0)