Let PacketCreator create Packet - initial test
This commit is contained in:
@@ -38,6 +38,7 @@ import constants.game.ExpTable;
|
||||
import constants.game.GameConstants;
|
||||
import constants.inventory.ItemConstants;
|
||||
import constants.skills.*;
|
||||
import net.packet.Packet;
|
||||
import net.server.PlayerBuffValueHolder;
|
||||
import net.server.PlayerCoolDownValueHolder;
|
||||
import net.server.Server;
|
||||
@@ -10048,10 +10049,15 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
|
||||
announce(PacketCreator.updatePlayerStats(Collections.singletonList(new Pair<>(stat, Integer.valueOf(newval))), itemReaction, this));
|
||||
}
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
public void announce(final byte[] packet) {
|
||||
client.announce(packet);
|
||||
}
|
||||
|
||||
public void sendPacket(Packet packet) {
|
||||
client.sendPacket(packet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getObjectId() {
|
||||
return getId();
|
||||
|
||||
Reference in New Issue
Block a user