Handlers read from InPacket instead of SeekableLittleEndianAccessor
This commit is contained in:
@@ -25,7 +25,7 @@ import client.MapleCharacter;
|
||||
import client.MapleClient;
|
||||
import client.processor.npc.FredrickProcessor;
|
||||
import net.AbstractMaplePacketHandler;
|
||||
import tools.data.input.SeekableLittleEndianAccessor;
|
||||
import net.packet.InPacket;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -34,9 +34,9 @@ import tools.data.input.SeekableLittleEndianAccessor;
|
||||
public class FredrickHandler extends AbstractMaplePacketHandler {
|
||||
|
||||
@Override
|
||||
public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
|
||||
public void handlePacket(InPacket p, MapleClient c) {
|
||||
MapleCharacter chr = c.getPlayer();
|
||||
byte operation = slea.readByte();
|
||||
byte operation = p.readByte();
|
||||
|
||||
switch (operation) {
|
||||
case 0x19: //Will never come...
|
||||
|
||||
Reference in New Issue
Block a user