Revert "Create a DGlobalPlayer on DPlayers initialization. Resolves #43"

This reverts commit 3c08691866.
This commit is contained in:
Daniel Saukel 2016-03-28 12:44:53 +02:00
parent f42a85132e
commit f6bf75e051
2 changed files with 1 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.github.dre2n</groupId> <groupId>io.github.dre2n</groupId>
<artifactId>dungeonsxl</artifactId> <artifactId>dungeonsxl</artifactId>
<version>0.11-SNAPSHOT</version> <version>0.11-SNAPSHOT-29</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>DungeonsXL</name> <name>DungeonsXL</name>
<url>https://dre2n.github.io</url> <url>https://dre2n.github.io</url>

View File

@ -29,12 +29,6 @@ public class DPlayers {
private List<DGlobalPlayer> dGlobalPlayers = new CopyOnWriteArrayList<>(); private List<DGlobalPlayer> dGlobalPlayers = new CopyOnWriteArrayList<>();
private List<DSavePlayer> dSavePlayers = new CopyOnWriteArrayList<>(); private List<DSavePlayer> dSavePlayers = new CopyOnWriteArrayList<>();
public DPlayers() {
for (Player player : Bukkit.getOnlinePlayers()) {
new DGlobalPlayer(player);
}
}
/** /**
* @return the DGlobalPlayer which represents the player * @return the DGlobalPlayer which represents the player
*/ */