mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Fix wrong list for worlds
This commit is contained in:
@@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user