Skip to content

Commit

Permalink
Weapon component is deprecated (#4417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Feb 7, 2024
1 parent fa339d3 commit e6636ec
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ private static boolean computeToolProperties(String toolType, NbtMapBuilder item
if (toolType.equals("sword")) {
miningSpeed = 1.5f;
canDestroyInCreative = false;
componentBuilder.putCompound("minecraft:weapon", NbtMap.EMPTY);
}

itemProperties.putBoolean("hand_equipped", true);
Expand Down

0 comments on commit e6636ec

Please sign in to comment.