From 54519ac4e4a6c27f3093e9c30bb80b69c0cea084 Mon Sep 17 00:00:00 2001 From: Swirny Date: Mon, 25 May 2020 21:29:39 +0200 Subject: [PATCH] Added RateLimit to ScratchPetEvent --- .../habbo/messages/incoming/rooms/pets/ScratchPetEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/eu/habbo/messages/incoming/rooms/pets/ScratchPetEvent.java b/src/main/java/com/eu/habbo/messages/incoming/rooms/pets/ScratchPetEvent.java index 6189f3e8..84807035 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/rooms/pets/ScratchPetEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/rooms/pets/ScratchPetEvent.java @@ -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();