Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,9 @@ public void writePositionSource(ByteBuf buf, PositionSource positionSource) {
} 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) {
Expand Down