Dropped GameGuard configs and redundant getClient method calls.
This commit is contained in:
@@ -97,14 +97,6 @@ UseSuperHasteAsGMSpeed = False
|
||||
# Server Security
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enforce gameguard for clients. Sends a gameguard query on character login.
|
||||
# Default: False
|
||||
GameGuardEnforce = False
|
||||
|
||||
# Don't allow player to perform trade, talk with npc, or move until gameguard reply is received.
|
||||
# Default: False
|
||||
GameGuardProhibitAction = False
|
||||
|
||||
#Logging settings. The following four settings, while enabled, will increase writing to your hard drive(s) considerably. Depending on the size of your server, the amount of players, and other factors, you may suffer a noticable performance hit.
|
||||
# Default: False
|
||||
LogChat = False
|
||||
|
@@ -415,8 +415,6 @@ public final class Config
|
||||
public static boolean GM_GIVE_SPECIAL_AURA_SKILLS;
|
||||
public static boolean GM_DEBUG_HTML_PATHS;
|
||||
public static boolean USE_SUPER_HASTE_AS_GM_SPEED;
|
||||
public static boolean GAMEGUARD_ENFORCE;
|
||||
public static boolean GAMEGUARD_PROHIBITACTION;
|
||||
public static boolean LOG_CHAT;
|
||||
public static boolean LOG_AUTO_ANNOUNCEMENTS;
|
||||
public static boolean LOG_ITEMS;
|
||||
@@ -1833,8 +1831,6 @@ public final class Config
|
||||
GM_GIVE_SPECIAL_AURA_SKILLS = General.getBoolean("GMGiveSpecialAuraSkills", false);
|
||||
GM_DEBUG_HTML_PATHS = General.getBoolean("GMDebugHtmlPaths", true);
|
||||
USE_SUPER_HASTE_AS_GM_SPEED = General.getBoolean("UseSuperHasteAsGMSpeed", false);
|
||||
GAMEGUARD_ENFORCE = General.getBoolean("GameGuardEnforce", false);
|
||||
GAMEGUARD_PROHIBITACTION = General.getBoolean("GameGuardProhibitAction", false);
|
||||
LOG_CHAT = General.getBoolean("LogChat", false);
|
||||
LOG_AUTO_ANNOUNCEMENTS = General.getBoolean("LogAutoAnnouncements", false);
|
||||
LOG_ITEMS = General.getBoolean("LogItems", false);
|
||||
|
@@ -912,7 +912,7 @@ public final class L2PcInstance extends L2Playable
|
||||
|
||||
public String getAccountName()
|
||||
{
|
||||
return getClient() == null ? getAccountNamePlayer() : getClient().getAccountName();
|
||||
return _client == null ? getAccountNamePlayer() : _client.getAccountName();
|
||||
}
|
||||
|
||||
public String getAccountNamePlayer()
|
||||
@@ -5763,7 +5763,7 @@ public final class L2PcInstance extends L2Playable
|
||||
{
|
||||
_privateStoreType = privateStoreType;
|
||||
|
||||
if (Config.OFFLINE_DISCONNECT_FINISHED && (privateStoreType == PrivateStoreType.NONE) && ((getClient() == null) || getClient().isDetached()))
|
||||
if (Config.OFFLINE_DISCONNECT_FINISHED && (privateStoreType == PrivateStoreType.NONE) && ((_client == null) || _client.isDetached()))
|
||||
{
|
||||
IdFactory.getInstance().releaseId(getObjectId());
|
||||
Disconnection.of(this).storeMe().deleteMe();
|
||||
@@ -11980,7 +11980,7 @@ public final class L2PcInstance extends L2Playable
|
||||
|
||||
public FloodProtectors getFloodProtectors()
|
||||
{
|
||||
return getClient().getFloodProtectors();
|
||||
return _client.getFloodProtectors();
|
||||
}
|
||||
|
||||
public boolean isFlyingMounted()
|
||||
|
Reference in New Issue
Block a user