Added ability to customize translations (#692)

* Added ability to customize translations

* Removed remaining usage of `Paths#get`

As of java 11 its replacement `Path#of` was created, which is called when using `Paths#get`, besides, according to documentation, it mentions that it can be deprecated at any time

And fix a minor typo in LegacyChannelIdentifier
This commit is contained in:
4drian3d
2022-04-15 23:38:44 -05:00
committed by GitHub
parent 3cb10f6ad4
commit acc407a6d5
6 changed files with 37 additions and 23 deletions

View File

@@ -13,7 +13,7 @@ import java.util.Objects;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* Reperesents a legacy channel identifier (for Minecraft 1.12 and below). For modern 1.13 plugin
* Represents a legacy channel identifier (for Minecraft 1.12 and below). For modern 1.13 plugin
* messages, please see {@link MinecraftChannelIdentifier}. This class is immutable and safe for
* multi-threaded use.
*/