add random methods

This commit is contained in:
spacerocket62
2020-11-05 20:39:27 -08:00
parent e4d097aa51
commit ba494f6892
5 changed files with 27 additions and 4 deletions

View File

@ -2,6 +2,8 @@ package me.totalfreedom.plex.command.impl;
import java.util.Collections;
import java.util.List;
import com.google.common.collect.ImmutableList;
import me.totalfreedom.plex.command.PlexCommand;
import me.totalfreedom.plex.command.annotation.CommandParameters;
import me.totalfreedom.plex.command.annotation.CommandPermissions;
@ -66,6 +68,6 @@ public class AdventureCMD extends PlexCommand
{
return PlexUtils.getPlayerNameList();
}
return Collections.emptyList();
return ImmutableList.of();
}
}

View File

@ -2,6 +2,8 @@ package me.totalfreedom.plex.command.impl;
import java.util.Collections;
import java.util.List;
import com.google.common.collect.ImmutableList;
import me.totalfreedom.plex.command.PlexCommand;
import me.totalfreedom.plex.command.annotation.CommandParameters;
import me.totalfreedom.plex.command.annotation.CommandPermissions;
@ -65,6 +67,6 @@ public class CreativeCMD extends PlexCommand
{
return PlexUtils.getPlayerNameList();
}
return Collections.emptyList();
return ImmutableList.of();
}
}

View File

@ -2,6 +2,8 @@ package me.totalfreedom.plex.command.impl;
import java.util.Collections;
import java.util.List;
import com.google.common.collect.ImmutableList;
import me.totalfreedom.plex.command.PlexCommand;
import me.totalfreedom.plex.command.annotation.CommandParameters;
import me.totalfreedom.plex.command.annotation.CommandPermissions;
@ -62,6 +64,6 @@ public class SpectatorCMD extends PlexCommand
{
return PlexUtils.getPlayerNameList();
}
return Collections.emptyList();
return ImmutableList.of();
}
}

View File

@ -2,6 +2,8 @@ package me.totalfreedom.plex.command.impl;
import java.util.Collections;
import java.util.List;
import com.google.common.collect.ImmutableList;
import me.totalfreedom.plex.command.PlexCommand;
import me.totalfreedom.plex.command.annotation.CommandParameters;
import me.totalfreedom.plex.command.annotation.CommandPermissions;
@ -65,6 +67,6 @@ public class SurvivalCMD extends PlexCommand
{
return PlexUtils.getPlayerNameList();
}
return Collections.emptyList();
return ImmutableList.of();
}
}