Added ratelimit

This commit is contained in:
Remco 2021-01-10 22:15:20 +01:00
parent 53fc7ece4a
commit de7c51d78a

View File

@ -17,6 +17,11 @@ import java.util.Optional;
public class WiredApplySetConditionsEvent extends MessageHandler { public class WiredApplySetConditionsEvent extends MessageHandler {
@Override
public int getRatelimit() {
return 500;
}
@Override @Override
public void handle() throws Exception { public void handle() throws Exception {
int itemId = this.packet.readInt(); int itemId = this.packet.readInt();