@@ -20,14 +20,14 @@ public class NoComExploit extends PacketModule {
2020 private final boolean log , kick ;
2121
2222 public NoComExploit () {
23- super ("patches.prevent-nocom-coordinate-exploit" , true , PacketListenerPriority .HIGHEST ,
24- " Prevents the abusable mechanic used by the infamous \ " No Comment\" \n " +
25- " coordinate exploit, where the server responds to requests that are\n " +
26- " far outside of the sending player's reach, therefore either crashing\n " +
27- " or revealing positions loaded by other players.\n " +
28- " More info on NoCom: https://github.com/nerdsinspace/nocom-explanation/blob/main/README.md\n " +
29- " This is still useful to keep enabled even if your version is not\n " +
30- " affected by the NoCom vulnerability." );
23+ super ("patches.prevent-nocom-coordinate-exploit" , true , PacketListenerPriority .HIGHEST , """
24+ Prevents the abusable mechanic used by the infamous "No Comment"
25+ coordinate exploit, where the server responds to requests that are
26+ far outside of the sending player's reach, therefore either crashing
27+ or revealing positions loaded by other players.
28+ More info on NoCom: https://github.com/nerdsinspace/nocom-explanation/blob/main/README.md
29+ This is still useful to keep enabled even if your version is not
30+ affected by the NoCom vulnerability."" " );
3131 this .maxDistanceSquared = NumberConversions .square (config .getInt (configPath + ".max-distance" , 24 ));
3232 this .log = config .getBoolean (configPath + ".log" , false );
3333 this .kick = config .getBoolean (configPath + ".kick-player" , false );
0 commit comments