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
bc701cfa
Commit
bc701cfa
authored
Jul 20, 2022
by
Melledy
Browse files
Add missing scene load state to PacketPlayerEnterSceneNotify
parent
b9b0f002
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerEnterSceneNotify.java
View file @
bc701cfa
...
@@ -44,6 +44,7 @@ public class PacketPlayerEnterSceneNotify extends BasePacket {
...
@@ -44,6 +44,7 @@ public class PacketPlayerEnterSceneNotify extends BasePacket {
public
PacketPlayerEnterSceneNotify
(
Player
player
,
Player
target
,
EnterType
type
,
EnterReason
reason
,
int
newScene
,
Position
newPos
)
{
public
PacketPlayerEnterSceneNotify
(
Player
player
,
Player
target
,
EnterType
type
,
EnterReason
reason
,
int
newScene
,
Position
newPos
)
{
super
(
PacketOpcodes
.
PlayerEnterSceneNotify
);
super
(
PacketOpcodes
.
PlayerEnterSceneNotify
);
player
.
setSceneLoadState
(
SceneLoadState
.
LOADING
);
player
.
setEnterSceneToken
(
Utils
.
randomRange
(
1000
,
99999
));
player
.
setEnterSceneToken
(
Utils
.
randomRange
(
1000
,
99999
));
PlayerEnterSceneNotify
.
Builder
proto
=
PlayerEnterSceneNotify
.
newBuilder
()
PlayerEnterSceneNotify
.
Builder
proto
=
PlayerEnterSceneNotify
.
newBuilder
()
...
...
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