PacketWrapper icon indicating copy to clipboard operation
PacketWrapper copied to clipboard

Invalid methods in REL_ENTITY_MOVE_LOOK

Open WolverinDEV opened this issue 8 years ago • 2 comments

Hey, the packet wrapper for the packet REL_ENTITY_MOVE_LOOK contains invalid methods. The methode getDx getDy and getDz are all reading the first byte of the packet. It should be for getDx readByte(0), for getDy readByte(1) and for getDz readByte(2)

The methods getYaw and getPitch are also affected. For yaw is the byte offset 3 and for pitch 4

WolverinDEV avatar Feb 01 '17 14:02 WolverinDEV

Looks fine to me: https://github.com/dmulloy2/PacketWrapper/blob/master/PacketWrapper/src/main/java/com/comphenix/packetwrapper/WrapperPlayServerRelEntityMoveLook.java#L86

dmulloy2 avatar Feb 02 '17 19:02 dmulloy2

Oh well i yust saw now that i missed the version in the bug report. Its appears in the 1.8 (maven version: 1.8.7-R0.1-SNAPSHOT)

WolverinDEV avatar Feb 02 '17 20:02 WolverinDEV