Fixed admins never added to AdminData when using builder hide.
Contributed by Sahar.
This commit is contained in:
parent
db741867a4
commit
1bd5c3c49a
@ -213,6 +213,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -222,7 +223,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -218,6 +218,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -227,7 +228,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -218,6 +218,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -227,7 +228,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -218,6 +218,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -227,7 +228,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -216,6 +216,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -225,7 +226,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -216,6 +216,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -225,7 +226,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -216,6 +216,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -225,7 +226,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -206,6 +206,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded();
|
player.refreshOverloaded();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -215,7 +216,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -217,6 +217,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -226,7 +227,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -217,6 +217,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -226,7 +227,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -217,6 +217,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -226,7 +227,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -217,6 +217,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -226,7 +227,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
@ -217,6 +217,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
player.setDietMode(true);
|
player.setDietMode(true);
|
||||||
player.refreshOverloaded(true);
|
player.refreshOverloaded(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
if (Config.GM_STARTUP_AUTO_LIST && AdminData.getInstance().hasAccess("admin_gmliston", player.getAccessLevel()))
|
||||||
{
|
{
|
||||||
@ -226,7 +227,6 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
{
|
{
|
||||||
AdminData.getInstance().addGm(player, true);
|
AdminData.getInstance().addGm(player, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
if (Config.GM_GIVE_SPECIAL_SKILLS)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user