mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-01-28 11:01:45 +01:00
no reason to use a set here.
This commit is contained in:
parent
0b244f0b6b
commit
1cd1e63e3c
@ -13,8 +13,8 @@ import org.bukkit.event.server.PluginDisableEvent;
|
|||||||
import org.bukkit.event.server.PluginEnableEvent;
|
import org.bukkit.event.server.PluginEnableEvent;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.ArrayList;
|
||||||
import java.util.Set;
|
import java.util.List;
|
||||||
|
|
||||||
public class Permission_Privileges extends Permission {
|
public class Permission_Privileges extends Permission {
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ public class Permission_Privileges extends Permission {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getGroups() {
|
public String[] getGroups() {
|
||||||
Set<String> groups = new HashSet<String>();
|
List<String> groups = new ArrayList<String>();
|
||||||
for (Group g : privs.getGroupManager().getGroups()) {
|
for (Group g : privs.getGroupManager().getGroups()) {
|
||||||
groups.add(g.getName());
|
groups.add(g.getName());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user