Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
Weapon component is deprecated (#4417)
Dieser Commit ist enthalten in:
Ursprung
fa339d37b5
Commit
e6636ec9fe
@ -348,7 +348,6 @@ public class CustomItemRegistryPopulator {
|
|||||||
if (toolType.equals("sword")) {
|
if (toolType.equals("sword")) {
|
||||||
miningSpeed = 1.5f;
|
miningSpeed = 1.5f;
|
||||||
canDestroyInCreative = false;
|
canDestroyInCreative = false;
|
||||||
componentBuilder.putCompound("minecraft:weapon", NbtMap.EMPTY);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
itemProperties.putBoolean("hand_equipped", true);
|
itemProperties.putBoolean("hand_equipped", true);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren