mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-09 11:42:53 +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
|
@Entity
|
||||||
public class TeamManager extends BasePlayerDataManager {
|
public class TeamManager extends BasePlayerDataManager {
|
||||||
@Transient private Player player;
|
|
||||||
|
|
||||||
private Map<Integer, TeamInfo> teams;
|
private Map<Integer, TeamInfo> teams;
|
||||||
private int currentTeamIndex;
|
private int currentTeamIndex;
|
||||||
private int currentCharacterIndex;
|
private int currentCharacterIndex;
|
||||||
@ -78,7 +76,7 @@ public class TeamManager extends BasePlayerDataManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public World getWorld() {
|
public World getWorld() {
|
||||||
return player.getWorld();
|
return getPlayer().getWorld();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, TeamInfo> getTeams() {
|
public Map<Integer, TeamInfo> getTeams() {
|
||||||
|
Loading…
Reference in New Issue
Block a user