Added RateLimit to ScratchPetEvent

This commit is contained in:
Swirny 2020-05-25 21:29:39 +02:00 committed by Mike
parent d2ccc15ce7
commit 54519ac4e4

View File

@ -5,6 +5,12 @@ import com.eu.habbo.habbohotel.pets.Pet;
import com.eu.habbo.messages.incoming.MessageHandler;
public class ScratchPetEvent extends MessageHandler {
@Override
public int getRatelimit() {
return 1000;
}
@Override
public void handle() throws Exception {
int petId = this.packet.readInt();