mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Fixed issue with PacketManager
This commit is contained in:
parent
754cb0c155
commit
ee45a5ce99
@ -559,7 +559,7 @@ public class PacketManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void registerPets() throws Exception {
|
void registerPets() throws Exception {
|
||||||
this.registerHandler(Incoming.UpdateRoomThumbnailEvent, RequestPetInformationEvent.class);
|
this.registerHandler(Incoming.UpdateRoomThumbnailEvent, GetPetInfoEvent.class);
|
||||||
this.registerHandler(Incoming.RemovePetFromFlatEvent, PetPickupEvent.class);
|
this.registerHandler(Incoming.RemovePetFromFlatEvent, PetPickupEvent.class);
|
||||||
this.registerHandler(Incoming.RespectPetEvent, ScratchPetEvent.class);
|
this.registerHandler(Incoming.RespectPetEvent, ScratchPetEvent.class);
|
||||||
this.registerHandler(Incoming.GetPetCommandsEvent, RequestPetTrainingPanelEvent.class);
|
this.registerHandler(Incoming.GetPetCommandsEvent, RequestPetTrainingPanelEvent.class);
|
||||||
|
@ -5,7 +5,7 @@ import com.eu.habbo.habbohotel.rooms.Room;
|
|||||||
import com.eu.habbo.messages.incoming.MessageHandler;
|
import com.eu.habbo.messages.incoming.MessageHandler;
|
||||||
import com.eu.habbo.messages.outgoing.rooms.pets.PetInfoMessageComposer;
|
import com.eu.habbo.messages.outgoing.rooms.pets.PetInfoMessageComposer;
|
||||||
|
|
||||||
public class RequestPetInformationEvent extends MessageHandler {
|
public class GetPetInfoEvent extends MessageHandler {
|
||||||
@Override
|
@Override
|
||||||
public void handle() throws Exception {
|
public void handle() throws Exception {
|
||||||
int petId = this.packet.readInt();
|
int petId = this.packet.readInt();
|
||||||
|
Loading…
Reference in New Issue
Block a user