All packet creating methods now create Packet instead of byte[]
This commit got way too big... - Remove deprecated methods for sending packets - Favor OutPacket & Packet over MaplePacketLittleEndianWriter, LittleEndianWriter, and byte array - Split up some packet creating methods into separate classes
This commit is contained in:
@@ -84,10 +84,10 @@ public final class MonsterBook {
|
||||
calculateLevel();
|
||||
}
|
||||
|
||||
c.announce(PacketCreator.addCard(false, cardid, qty + 1));
|
||||
c.announce(PacketCreator.showGainCard());
|
||||
c.sendPacket(PacketCreator.addCard(false, cardid, qty + 1));
|
||||
c.sendPacket(PacketCreator.showGainCard());
|
||||
} else {
|
||||
c.announce(PacketCreator.addCard(true, cardid, 5));
|
||||
c.sendPacket(PacketCreator.addCard(true, cardid, 5));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user