No delay on card pick-up + refactored item pickup process

Fixed a issue on server delaying whenever a player gets a new card for
the mobbook. Some code refactoring unifying the several item picking-up
methods on the project.
This commit is contained in:
ronancpl
2017-05-21 15:17:18 -03:00
parent 7fcdc07b5b
commit 514656d238
8 changed files with 204 additions and 292 deletions

View File

@@ -5526,7 +5526,7 @@ public class MaplePacketCreator {
return mplew.getPacket();
}
public static byte[] showForeginCardEffect(int id) {
public static byte[] showForeignCardEffect(int id) {
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter(7);
mplew.writeShort(SendOpcode.SHOW_FOREIGN_EFFECT.getValue());
mplew.writeInt(id);