Fix wrong list for worlds

This commit is contained in:
Daniel Mills 2021-07-18 18:57:05 -04:00
parent fb8b5ac6b6
commit 854b137820

View File

@ -32,6 +32,7 @@ import org.bukkit.entity.Player;
import java.io.File;
import java.util.Collection;
import java.util.List;
@Builder
@Data
@ -68,7 +69,7 @@ public class IrisWorld {
return realWorld != null;
}
public Iterable<? extends Player> getPlayers() {
public List<Player> getPlayers() {
if(hasRealWorld())
{