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

This commit is contained in:
md_5 2023-04-11 18:52:25 +10:00
parent 13eb414669
commit 46ba7c9fac
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

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).