Useless LinkedHashMap (not always xD)
This commit is contained in:
parent
346533098d
commit
77436631a4
@ -228,7 +228,7 @@ public class SimplyPlugin extends JavaPlugin {
|
|||||||
|
|
||||||
private Map<String, Boolean> calculateGroupPermissions(String group, String world) {
|
private Map<String, Boolean> calculateGroupPermissions(String group, String world) {
|
||||||
if (getNode("groups/" + group) == null) {
|
if (getNode("groups/" + group) == null) {
|
||||||
return new LinkedHashMap<String, Boolean>();
|
return new HashMap<String, Boolean>();
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, Boolean> perms = config.getGroupPermissions(group);
|
Map<String, Boolean> perms = config.getGroupPermissions(group);
|
||||||
|
Loading…
Reference in New Issue
Block a user