Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
02ca5cf2
Commit
02ca5cf2
authored
Jul 15, 2022
by
KingRainbow44
Browse files
Update to support `PlayerMoveEvent`
parent
1b8df002
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/packet/recv/HandlerCombatInvocationsNotify.java
View file @
02ca5cf2
...
@@ -58,8 +58,7 @@ public class HandlerCombatInvocationsNotify extends PacketHandler {
...
@@ -58,8 +58,7 @@ public class HandlerCombatInvocationsNotify extends PacketHandler {
new
Position
(
motionInfo
.
getRot
()),
motionState
);
new
Position
(
motionInfo
.
getRot
()),
motionState
);
event
.
call
();
event
.
call
();
entity
.
getPosition
().
set
(
motionInfo
.
getPos
());
entity
.
move
(
event
.
getPosition
(),
event
.
getRotation
());
entity
.
getRotation
().
set
(
motionInfo
.
getRot
());
entity
.
setLastMoveSceneTimeMs
(
moveInfo
.
getSceneTime
());
entity
.
setLastMoveSceneTimeMs
(
moveInfo
.
getSceneTime
());
entity
.
setLastMoveReliableSeq
(
moveInfo
.
getReliableSeq
());
entity
.
setLastMoveReliableSeq
(
moveInfo
.
getReliableSeq
());
entity
.
setMotionState
(
motionState
);
entity
.
setMotionState
(
motionState
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment