Skip to content

Commit

Permalink
an unsafe patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-Young authored Aug 1, 2024
1 parent cba5ca8 commit e6a4b6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/one/oktw/FabricProxyLite.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ public class FabricProxyLite implements DedicatedServerModInitializer, IMixinCon
public void onInitializeServer() {
// Packet receiver
ServerLoginNetworking.registerGlobalReceiver(PLAYER_INFO_CHANNEL, new PacketHandler(config)::handleVelocityPacket);
if (!config.getHackEarlySend()) {
ServerLoginConnectionEvents.QUERY_START.register((handler, server, sender, synchronizer) -> sender.sendPacket(PLAYER_INFO_CHANNEL, PLAYER_INFO_PACKET));
}
ServerLoginConnectionEvents.QUERY_START.register((handler, server, sender, synchronizer) -> sender.sendPacket(PLAYER_INFO_CHANNEL, PLAYER_INFO_PACKET));
}

// Only load hack mixin if enabled
Expand Down

0 comments on commit e6a4b6b

Please sign in to comment.