mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-09 05:43:01 +08:00
Forgot to remove extra player var from TeamManager
This commit is contained in:
parent
7189e3701d
commit
5e041b333b
@ -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 player.getWorld();
|
||||
return getPlayer().getWorld();
|
||||
}
|
||||
|
||||
public Map<Integer, TeamInfo> getTeams() {
|
||||
|
Loading…
Reference in New Issue
Block a user