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
e8261d56
Commit
e8261d56
authored
Apr 18, 2022
by
Melledy
Browse files
Update failure message when not being able to change scene
parent
c1d5b1fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/commands/PlayerCommands.java
View file @
e8261d56
...
@@ -341,7 +341,7 @@ public class PlayerCommands {
...
@@ -341,7 +341,7 @@ public class PlayerCommands {
boolean
result
=
player
.
getWorld
().
transferPlayerToScene
(
player
,
sceneId
,
player
.
getPos
());
boolean
result
=
player
.
getWorld
().
transferPlayerToScene
(
player
,
sceneId
,
player
.
getPos
());
if
(!
result
)
{
if
(!
result
)
{
player
.
dropMessage
(
"Scene does not exist
!
"
);
player
.
dropMessage
(
"Scene does not exist
or you are already in it
"
);
}
}
}
}
}
}
...
...
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