Weapon component is deprecated (#4417)

This commit is contained in:
Kas-tle 2024-02-07 06:15:36 -08:00 committed by GitHub
parent fa339d37b5
commit e6636ec9fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -348,7 +348,6 @@ public class CustomItemRegistryPopulator {
if (toolType.equals("sword")) {
miningSpeed = 1.5f;
canDestroyInCreative = false;
componentBuilder.putCompound("minecraft:weapon", NbtMap.EMPTY);
}
itemProperties.putBoolean("hand_equipped", true);