mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Update Module_list.java
This commit is contained in:
parent
5d882d9052
commit
ce32490b4d
@ -25,7 +25,7 @@ public class Module_list extends HTTPDModule
|
|||||||
if (params.get("json") != null && params.get("json").equals("true"))
|
if (params.get("json") != null && params.get("json").equals("true"))
|
||||||
{
|
{
|
||||||
final JSONObject responseObject = new JSONObject();
|
final JSONObject responseObject = new JSONObject();
|
||||||
|
|
||||||
final JSONArray owners = new JSONArray();
|
final JSONArray owners = new JSONArray();
|
||||||
final JSONArray executives = new JSONArray();
|
final JSONArray executives = new JSONArray();
|
||||||
final JSONArray developers = new JSONArray();
|
final JSONArray developers = new JSONArray();
|
||||||
@ -37,7 +37,6 @@ public class Module_list extends HTTPDModule
|
|||||||
|
|
||||||
for (Player player : Bukkit.getOnlinePlayers())
|
for (Player player : Bukkit.getOnlinePlayers())
|
||||||
{
|
{
|
||||||
|
|
||||||
if (plugin.al.isVanished(player.getName()))
|
if (plugin.al.isVanished(player.getName()))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
@ -53,7 +52,7 @@ public class Module_list extends HTTPDModule
|
|||||||
masterbuilders.add(player.getName());
|
masterbuilders.add(player.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FUtil.DEVELOPERS.contains(player.getName()))
|
if (FUtil.DEVELOPER_NAMES.contains(player.getName()))
|
||||||
{
|
{
|
||||||
developers.add(player.getName());
|
developers.add(player.getName());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user