Commit 5e041b33 authored by Melledy's avatar Melledy
Browse files

Forgot to remove extra player var from TeamManager

parent 7189e370
...@@ -42,8 +42,6 @@ import it.unimi.dsi.fastutil.ints.IntSet; ...@@ -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 { ...@@ -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() {
......
Markdown is supported
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