mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Revert "Create a DGlobalPlayer on DPlayers initialization. Resolves #43"
This reverts commit 3c08691866
.
This commit is contained in:
parent
f42a85132e
commit
f6bf75e051
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user