mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Added RateLimit to ScratchPetEvent
This commit is contained in:
parent
d2ccc15ce7
commit
54519ac4e4
@ -5,6 +5,12 @@ import com.eu.habbo.habbohotel.pets.Pet;
|
|||||||
import com.eu.habbo.messages.incoming.MessageHandler;
|
import com.eu.habbo.messages.incoming.MessageHandler;
|
||||||
|
|
||||||
public class ScratchPetEvent extends MessageHandler {
|
public class ScratchPetEvent extends MessageHandler {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getRatelimit() {
|
||||||
|
return 1000;
|
||||||
|
}
|
||||||
|
|
||||||
@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