mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-21 22:36:18 +01:00
Weapon component is deprecated (#4417)
This commit is contained in:
parent
fa339d37b5
commit
e6636ec9fe
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue