Skip to content

Commit

Permalink
Fix shields not receiving their block stats (reported on #5201)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed May 19, 2024
1 parent 9df2d76 commit 36eece4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ public class ToolStats {

// shield
/** Maximum damage blocked by the shield. If more than this number is dealt, the damage is reduced by this number */
public static final FloatToolStat BLOCK_AMOUNT = register(new FloatToolStat(name("block_amount"), 0xFF78A0CD, 5, 0, 2048, TinkerTags.Items.INTERACTABLE_RIGHT));
public static final FloatToolStat BLOCK_AMOUNT = register(new FloatToolStat(name("block_amount"), 0xFF78A0CD, 5, 0, 2048, TinkerTags.Items.HELD));
/** Maximum angle of blocking in degrees. 180 is vanilla (90 degrees either direction). */
public static final FloatToolStat BLOCK_ANGLE = register(new FloatToolStat(name("block_angle"), 0xFF78A0CD, 120, 0, 180, TinkerTags.Items.INTERACTABLE_RIGHT));
public static final FloatToolStat BLOCK_ANGLE = register(new FloatToolStat(name("block_angle"), 0xFF78A0CD, 120, 0, 180, TinkerTags.Items.HELD));

// ranged
/** Number of times per second a tool can be used */
Expand Down

0 comments on commit 36eece4

Please sign in to comment.