Skip to content
Snippets Groups Projects
Commit 5e041b33 authored by Melledy's avatar Melledy
Browse files

Forgot to remove extra player var from TeamManager

parent 7189e370
Branches
Tags
No related merge requests found
......@@ -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() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment