mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
More Logs::None to LogDebug
This commit is contained in:
+8
-16
@@ -1231,22 +1231,18 @@ XS(XS_Client_MovePC) {
|
||||
THIS->MovePC(zoneID, x, y, z, heading);
|
||||
} else {
|
||||
if (THIS->IsMerc()) {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePC) attempted to process a type Merc reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePC) attempted to process a type Merc reference");
|
||||
}
|
||||
#ifdef BOTS
|
||||
else if (THIS->IsBot()) {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePC) attempted to process a type Bot reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePC) attempted to process a type Bot reference");
|
||||
}
|
||||
#endif
|
||||
else if (THIS->IsNPC()) {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePC) attempted to process a type NPC reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePC) attempted to process a type NPC reference");
|
||||
}
|
||||
else {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePC) attempted to process an Unknown type reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePC) attempted to process an Unknown type reference");
|
||||
}
|
||||
|
||||
Perl_croak(aTHX_ "THIS is not of type Client");
|
||||
@@ -1283,22 +1279,18 @@ XS(XS_Client_MovePCInstance) {
|
||||
THIS->MovePC(zoneID, instanceID, x, y, z, heading);
|
||||
} else {
|
||||
if (THIS->IsMerc()) {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process a type Merc reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process a type Merc reference");
|
||||
}
|
||||
#ifdef BOTS
|
||||
else if (THIS->IsBot()) {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process a type Bot reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process a type Bot reference");
|
||||
}
|
||||
#endif
|
||||
else if (THIS->IsNPC()) {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process a type NPC reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process a type NPC reference");
|
||||
}
|
||||
else {
|
||||
Log(Logs::Detail, Logs::None,
|
||||
"[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process an Unknown type reference");
|
||||
LogDebug("[CLIENT] Perl(XS_Client_MovePCInstance) attempted to process an Unknown type reference");
|
||||
}
|
||||
|
||||
Perl_croak(aTHX_ "THIS is not of type Client");
|
||||
|
||||
Reference in New Issue
Block a user