From f6bf75e051fae6ece0d1aa29224866a1d833aa21 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Mon, 28 Mar 2016 12:44:53 +0200 Subject: [PATCH] Revert "Create a DGlobalPlayer on DPlayers initialization. Resolves #43" This reverts commit 3c086918663ad38d44c02e423c890390e893e906. --- pom.xml | 2 +- .../java/io/github/dre2n/dungeonsxl/player/DPlayers.java | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index b3e4a0ec..ec760898 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 io.github.dre2n dungeonsxl - 0.11-SNAPSHOT + 0.11-SNAPSHOT-29 jar DungeonsXL https://dre2n.github.io diff --git a/src/main/java/io/github/dre2n/dungeonsxl/player/DPlayers.java b/src/main/java/io/github/dre2n/dungeonsxl/player/DPlayers.java index c2992bd2..a23a1b9b 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/player/DPlayers.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/player/DPlayers.java @@ -29,12 +29,6 @@ public class DPlayers { private List dGlobalPlayers = new CopyOnWriteArrayList<>(); private List dSavePlayers = new CopyOnWriteArrayList<>(); - public DPlayers() { - for (Player player : Bukkit.getOnlinePlayers()) { - new DGlobalPlayer(player); - } - } - /** * @return the DGlobalPlayer which represents the player */