mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
Remove time syncer checks
This check has caused more harm than good (with needing to use an external NTP source and some providers not allowing Cloudflare's NTP server), and is also a technical vulnerability in BungeeGuard. In order to exploit this, you would need to capture traffic between the Geyser server and the Floodgate instance.
This commit is contained in:
@@ -141,10 +141,6 @@ public final class VelocityProxyDataHandler extends ChannelInboundHandlerAdapter
|
||||
ctx.channel().attr(kickMessageAttribute)
|
||||
.set(config.getDisconnect().getInvalidArgumentsLength());
|
||||
return;
|
||||
case TIMESTAMP_DENIED:
|
||||
ctx.channel().attr(kickMessageAttribute)
|
||||
.set(Constants.TIMESTAMP_DENIED_MESSAGE);
|
||||
return;
|
||||
default: // only continue when SUCCESS
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user