Skip to content

Commit

Permalink
Weapon component is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Feb 6, 2024
1 parent 19a3dc3 commit fd257ca
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 fd257ca

Please sign in to comment.