mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix wrong list for worlds
This commit is contained in:
parent
fb8b5ac6b6
commit
854b137820
@ -32,6 +32,7 @@ import org.bukkit.entity.Player;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@Builder
|
@Builder
|
||||||
@Data
|
@Data
|
||||||
@ -68,7 +69,7 @@ public class IrisWorld {
|
|||||||
return realWorld != null;
|
return realWorld != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Iterable<? extends Player> getPlayers() {
|
public List<Player> getPlayers() {
|
||||||
|
|
||||||
if(hasRealWorld())
|
if(hasRealWorld())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user