mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-28 19:29:14 +00:00
Weapon component is deprecated (#4417)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user