mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 11:24:57 -05:00
Fix equippable component writing (#868)
This commit is contained in:
parent
88188c5b39
commit
8150091888
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ public class ItemCodecHelper extends MinecraftCodecHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.writeNullable(buf, equippable.model(), this::writeResourceLocation);
|
this.writeNullable(buf, equippable.model(), this::writeResourceLocation);
|
||||||
|
this.writeNullable(buf, equippable.cameraOverlay(), this::writeResourceLocation);
|
||||||
this.writeNullable(buf, equippable.allowedEntities(), this::writeHolderSet);
|
this.writeNullable(buf, equippable.allowedEntities(), this::writeHolderSet);
|
||||||
buf.writeBoolean(equippable.dispensable());
|
buf.writeBoolean(equippable.dispensable());
|
||||||
buf.writeBoolean(equippable.swappable());
|
buf.writeBoolean(equippable.swappable());
|
||||||
|
|
Loading…
Reference in a new issue