Skip to content

Commit 46cc598

Browse files
committed
replace with text block
1 parent 60296f6 commit 46cc598

File tree

1 file changed

+8
-8
lines changed
  • AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/packets

1 file changed

+8
-8
lines changed

AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/packets/NoComExploit.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)