818ac5cbde
This was caused by the fact that "requireInputBuffer" used findLegacy(int) to get the correct PacketType, instead of findLegacy(int, Sender.CLIENT). The latter is justified by the fact that only client-side packets require an input buffer.