mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Possibly solve info writing issues in globalgroups
Editing this on the ess branch, cause i'm sure there is a better fix.
This commit is contained in:
parent
3e80bf479e
commit
3e367912ec
1 changed files with 0 additions and 8 deletions
|
@ -236,14 +236,6 @@ public class GlobalGroups {
|
||||||
Map<String, Object> aGroupMap = new HashMap<String, Object>();
|
Map<String, Object> aGroupMap = new HashMap<String, Object>();
|
||||||
groupsMap.put(group.getName(), aGroupMap);
|
groupsMap.put(group.getName(), aGroupMap);
|
||||||
|
|
||||||
// Info nodes
|
|
||||||
Map<String, Object> infoMap = new HashMap<String, Object>();
|
|
||||||
aGroupMap.put("info", infoMap);
|
|
||||||
|
|
||||||
for (String infoKey : group.getVariables().getVarKeyList()) {
|
|
||||||
infoMap.put(infoKey, group.getVariables().getVarObject(infoKey));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Permission nodes
|
// Permission nodes
|
||||||
aGroupMap.put("permissions", group.getPermissionList());
|
aGroupMap.put("permissions", group.getPermissionList());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue