Rename and clean up MapleCharacter
This commit is contained in:
@@ -20,16 +20,16 @@
|
||||
*/
|
||||
package net.packet.logging;
|
||||
|
||||
import client.Character;
|
||||
import client.MapleClient;
|
||||
import net.opcodes.RecvOpcode;
|
||||
import tools.FilePrinter;
|
||||
import tools.HexTool;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import net.opcodes.RecvOpcode;
|
||||
import client.MapleCharacter;
|
||||
import client.MapleClient;
|
||||
import tools.FilePrinter;
|
||||
import tools.HexTool;
|
||||
|
||||
/**
|
||||
* Logs packets to console and file.
|
||||
*
|
||||
@@ -41,7 +41,7 @@ public class MapleLogger {
|
||||
public static final Set<Integer> ignored = new HashSet<>();
|
||||
|
||||
public static void logRecv(MapleClient c, short packetId, byte[] packetContent) {
|
||||
MapleCharacter chr = c.getPlayer();
|
||||
Character chr = c.getPlayer();
|
||||
if (chr == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user