Skip to content

Commit 59d67fd

Browse files
committed
raise to 2secs for bad lag
1 parent 29c495e commit 59d67fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/combat/PortalGodMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public PortalGodMode() {
4040
this.log = config.getBoolean(configPath + ".log", true);
4141
this.kickPlayer = config.getBoolean(configPath + ".kick-player", true,
4242
"If set to false, will simulate a TeleportConfirm packet to the server.");
43-
this.timeoutMillis = config.getLong(configPath + ".client-wait-millis", 1000, """
43+
this.timeoutMillis = config.getLong(configPath + ".client-wait-millis", 2000, """
4444
How many millis to wait for the client to respond with a TeleportConfirm\s
4545
packet before we simulate it.""");
4646
}

AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/combat/PortalGodMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public PortalGodMode() {
4242
this.log = config.getBoolean(configPath + ".log", true);
4343
this.kickPlayer = config.getBoolean(configPath + ".kick-player", true,
4444
"If set to false, will simulate a TeleportConfirm packet to the server.");
45-
this.timeoutMillis = config.getLong(configPath + ".client-wait-millis", 1000,
45+
this.timeoutMillis = config.getLong(configPath + ".client-wait-millis", 2000,
4646
"How many millis to wait for the client to respond with a TeleportConfirm\n" +
4747
"packet before we simulate it.");
4848
}

0 commit comments

Comments
 (0)