Skip to content

Commit 9409c7d

Browse files
[ci skip] Add SECURITY.md (ViaVersion#4520)
1 parent 17d94a1 commit 9409c7d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

SECURITY.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you discover a **security vulnerability**, please **do not** open a public issue. Instead, use one of the following **confidential contact methods**:
6+
7+
* **Email:** [[email protected]](mailto:[email protected])
8+
* **Discord:** Join our [Discord server](https://discord.gg/viaversion) and visit the [#exploit-report](https://discord.com/channels/316206679014244363/1388847764137316485) channel for further instructions.
9+
10+
If your issue is **not security-related** (e.g., bug reports, feature requests, or usage questions), please use the [GitHub Issues page](https://github.com/ViaVersion/ViaVersion/issues) or contact us via the [Discord server](https://discord.gg/viaversion).

api/src/main/java/com/viaversion/viaversion/api/minecraft/data/StructuredDataContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public boolean hasEmpty(final StructuredDataKey<?> key) {
241241
/**
242242
* Sets the lookup for serializer ids. Required to call most of the other methods.
243243
*
244-
* @param protocol protocol to retreive the id of the serializer from
244+
* @param protocol protocol to retrieve the id of the serializer from
245245
* @param mappedNames if the names are mapped (true if structures from the mapped version are added, false for the unmapped version)
246246
*/
247247
public void setIdLookup(final Protocol<?, ?, ?, ?> protocol, final boolean mappedNames) {

0 commit comments

Comments
 (0)