mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-21 11:35:16 +01:00
Remove ncr warn (#206)
* Remove warning for NoChatReports, fix typo The warning is due to an old vulnerability of NCR * fix some space issue
This commit is contained in:
parent
8e61509140
commit
7622f73a74
4
.editorconfig
Normal file
4
.editorconfig
Normal file
@ -0,0 +1,4 @@
|
||||
root = true
|
||||
|
||||
[*.java]
|
||||
indent_style = space
|
@ -204,8 +204,6 @@ public abstract class AbstractFabricPlatform implements ViaPlatform<UUID> {
|
||||
List<UnsupportedSoftware> list = new ArrayList<>(ViaPlatform.super.getUnsupportedSoftwareClasses());
|
||||
list.add(new UnsupportedPlugin.Builder().name("gaslight/guardian").reason(UnsupportedSoftwareReasons.SELF_INCRIMINATION)
|
||||
.addPlugin("guardian").addPlugin("gaslight").build());
|
||||
list.add(new UnsupportedPlugin.Builder().name("NoChatReports").reason(UnsupportedSoftwareReasons.NCR)
|
||||
.addPlugin("nochatreports").build());
|
||||
return Collections.unmodifiableList(list);
|
||||
}
|
||||
|
||||
@ -215,10 +213,8 @@ public abstract class AbstractFabricPlatform implements ViaPlatform<UUID> {
|
||||
}
|
||||
|
||||
private static final class UnsupportedSoftwareReasons {
|
||||
|
||||
private static final String SELF_INCRIMINATION = "By using these kind of mods, at best you create fishy context or silly reports, " +
|
||||
"at worst you end up incrimating yourself when writing messages or reporting another player.";
|
||||
private static final String NCR = "Due to a history of breaking message formatting and creating other issues related to chat handling " +
|
||||
"(some still present), we suggest you find alternatives to this mod.";
|
||||
private static final String SELF_INCRIMINATION = "By using these proof-of-concept TESTING mods, " +
|
||||
"at best you create fishy context or silly reports, " +
|
||||
"at worst you end up incriminating yourself when writing messages or reporting another player.";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user