SPIGOT-7335: Fix typo in TextDisplay#TextAlignment enum name

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2023-04-11 18:52:25 +10:00
parent 50c3f2e6e0
commit 028c02ffb7

View file

@ -119,19 +119,19 @@ public interface TextDisplay extends Display {
* @return text alignment
*/
@NotNull
TextAligment getAlignment();
TextAlignment getAlignment();
/**
* Sets the text alignment for this display.
*
* @param alignment new alignment
*/
void setAlignment(@NotNull TextAligment alignment);
void setAlignment(@NotNull TextAlignment alignment);
/**
* Represents possible text alignments for this display.
*/
public enum TextAligment {
public enum TextAlignment {
/**
* Center aligned text (default).