Skip to content

Commit 190f85b

Browse files
committed
1.1.8: revert framed captcha delay as we made new config option in LimboAPI
1 parent a66743b commit 190f85b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.7
1+
1.1.8

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
}
1010

1111
setGroup("net.elytrium")
12-
setVersion("1.1.7")
12+
setVersion("1.1.8")
1313

1414
compileJava {
1515
getOptions().setEncoding("UTF-8")

src/main/java/net/elytrium/limbofilter/handler/BotFilterSessionHandler.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,7 @@ private void sendCaptcha() {
388388

389389
PreparedPacket framedCaptchaPacket = this.plugin.getPackets().getFramedCaptchaPackets();
390390
if (framedCaptchaPacket != null) {
391-
// Postpone captcha packets because we must receive neighbor-chunks
392-
// The delay is 150 milliseconds = 3 ticks
393-
this.player.getScheduledExecutor().schedule(() -> this.player.writePacketAndFlush(framedCaptchaPacket), 150L, TimeUnit.MILLISECONDS);
391+
this.player.writePacket(framedCaptchaPacket);
394392
}
395393

396394
this.player.writePacket(this.plugin.getPackets().getCaptchaAttemptsPacket(this.attempts));

0 commit comments

Comments
 (0)