You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@iksaku that doesn't change the player speed. It should be a read-only field because it is only changed by the client packets. No packets are sent to the client about this. You can change it, but then it'll be immediately overridden by the next player motion packet, which only differentiates (not sure if this is the correct word) the player location of the client and the server. Well, it may look different to other players (but I think it won't), but not to the client himself. Moreover, changing a field absolutely won't do anything unless that class implements the __set() magic method because other clients receive the change of speed after an uncanceled EntityMotionEvent is called, which doesn't happen in this case.
In another view, if you only set it once, the speed can be immediately overridden if the player stops/starts walking, walks into lava, jumps, walks into water, go onto a minecart, etc... Any events that could change his speed can change the value.
TODOs
*
, amount inversely proportional to the sound wave magnitude when it reaches)(Everyone is assigned)
The text was updated successfully, but these errors were encountered: