mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-11 00:01:19 -05:00
(cherry picked from commit bf269a2d50
)
This commit is contained in:
parent
caa35c7be4
commit
ee030499b5
1 changed files with 2 additions and 2 deletions
|
@ -521,9 +521,9 @@ public class MinecraftCodecHelper extends BasePacketCodecHelper {
|
|||
} else if (positionSource instanceof EntityPositionSource) {
|
||||
this.writeVarInt(buf, ((EntityPositionSource) positionSource).getEntityId());
|
||||
buf.writeFloat(((EntityPositionSource) positionSource).getYOffset());
|
||||
} else {
|
||||
throw new IllegalStateException("Unknown position source type!");
|
||||
}
|
||||
|
||||
throw new IllegalStateException("Unknown position source type!");
|
||||
}
|
||||
|
||||
public VillagerData readVillagerData(ByteBuf buf) {
|
||||
|
|
Loading…
Reference in a new issue