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
5e041b33
Commit
5e041b33
authored
Jul 21, 2022
by
Melledy
Browse files
Forgot to remove extra player var from TeamManager
parent
7189e370
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/player/TeamManager.java
View file @
5e041b33
...
...
@@ -42,8 +42,6 @@ import it.unimi.dsi.fastutil.ints.IntSet;
@Entity
public
class
TeamManager
extends
BasePlayerDataManager
{
@Transient
private
Player
player
;
private
Map
<
Integer
,
TeamInfo
>
teams
;
private
int
currentTeamIndex
;
private
int
currentCharacterIndex
;
...
...
@@ -78,7 +76,7 @@ public class TeamManager extends BasePlayerDataManager {
}
public
World
getWorld
()
{
return
p
layer
.
getWorld
();
return
getP
layer
()
.
getWorld
();
}
public
Map
<
Integer
,
TeamInfo
>
getTeams
()
{
...
...
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