From e6636ec9fe454d4891d4f56aba8d3e43aeeee17d Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Wed, 7 Feb 2024 06:15:36 -0800 Subject: [PATCH] Weapon component is deprecated (#4417) --- .../geyser/registry/populator/CustomItemRegistryPopulator.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java b/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java index e1d67399f..433b732a8 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java +++ b/core/src/main/java/org/geysermc/geyser/registry/populator/CustomItemRegistryPopulator.java @@ -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);