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
000b1098
Commit
000b1098
authored
May 06, 2022
by
Melledy
Browse files
Merge branch 'development' of
https://github.com/Grasscutters/Grasscutter
into development
parents
796201e8
22166857
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/managers/SotSManager/SotSManager.java
View file @
000b1098
...
@@ -75,7 +75,7 @@ public class SotSManager {
...
@@ -75,7 +75,7 @@ public class SotSManager {
// TODO: In MP, respect SotS settings from the host.
// TODO: In MP, respect SotS settings from the host.
boolean
isAutoRecoveryEnabled
=
getIsAutoRecoveryEnabled
();
boolean
isAutoRecoveryEnabled
=
getIsAutoRecoveryEnabled
();
int
autoRecoverPercentage
=
getAutoRecoveryPercentage
();
int
autoRecoverPercentage
=
getAutoRecoveryPercentage
();
Grasscutter
.
getLogger
().
warn
(
"isAutoRecoveryEnabled: "
+
isAutoRecoveryEnabled
+
"\tautoRecoverPercentage: "
+
autoRecoverPercentage
);
Grasscutter
.
getLogger
().
debug
(
"isAutoRecoveryEnabled: "
+
isAutoRecoveryEnabled
+
"\tautoRecoverPercentage: "
+
autoRecoverPercentage
);
if
(
isAutoRecoveryEnabled
)
{
if
(
isAutoRecoveryEnabled
)
{
player
.
getTeamManager
().
getActiveTeam
().
forEach
(
entity
->
{
player
.
getTeamManager
().
getActiveTeam
().
forEach
(
entity
->
{
...
...
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