Skip to content

Commit 8c6096d

Browse files
avaruus1aromaa
andauthored
Apply suggestions from code review
Co-authored-by: Joni Aromaa <[email protected]>
1 parent 8b31074 commit 8c6096d

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
@@ -3681,14 +3681,14 @@ public final class Keys {
36813681
/**
36823682
* The amount of {@link Ticks} player must use this {@link ItemStack} for to block attacks successfully.
36833683
*/
3684-
public static final Key<Value<Ticks>> BLOCK_DELAY_TICKS = Keys.key(ResourceKey.sponge("block_delay_ticks"), Ticks.class);
3684+
public static final Key<Value<Ticks>> BLOCK_DEPLOY_TICKS = Keys.key(ResourceKey.sponge("block_deploy_ticks"), Ticks.class);
36853685

36863686
/**
36873687
* Multiplier applied to the cooldown during which blocking using this item is disabled.
36883688
*
36893689
* @see <a href="https://minecraft.wiki/w/Data_component_format#blocks_attacks">blocks_attacks</a>
36903690
*/
3691-
public static final Key<Value<Float>> DISABLED_BLOCKING_COOLDOWN_SCALE = Keys.key(ResourceKey.sponge("disabled_blocking_cooldown_scale"), Float.class);
3691+
public static final Key<Value<Double>> DISABLED_BLOCKING_COOLDOWN_SCALE = Keys.key(ResourceKey.sponge("disabled_blocking_cooldown_scale"), Double.class);
36923692

36933693
/**
36943694
* The amount of attack damage a shield-like {@link ItemStack} reduces for certain {@link DamageType}s

0 commit comments

Comments
 (0)