Fixed ChatComponent

This commit is contained in:
Auxilor
2021-04-24 17:01:53 +01:00
parent f5efb50d71
commit a5b5bc6b46
4 changed files with 3 additions and 9 deletions

View File

@@ -15,7 +15,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
@SuppressWarnings("DeprecatedIsStillUsed")
@UtilityClass
public class Display {
/**
@@ -31,7 +30,6 @@ public class Display {
/**
* NamespacedKey for finalizing.
*/
@Deprecated
private static NamespacedKey finalizeKey = null;
/**
@@ -94,7 +92,6 @@ public class Display {
* @param itemStack The item.
* @return The itemstack.
*/
@Deprecated
public ItemStack displayAndFinalize(@NotNull final ItemStack itemStack) {
return finalize(display(itemStack));
}
@@ -143,7 +140,6 @@ public class Display {
* @param itemStack The item.
* @return The itemstack.
*/
@Deprecated
public ItemStack finalize(@NotNull final ItemStack itemStack) {
Validate.notNull(finalizeKey, "Key cannot be null!");
@@ -168,7 +164,6 @@ public class Display {
* @param itemStack The item.
* @return The itemstack.
*/
@Deprecated
public ItemStack unfinalize(@NotNull final ItemStack itemStack) {
Validate.notNull(finalizeKey, "Key cannot be null!");
@@ -190,7 +185,6 @@ public class Display {
* @param itemStack The item.
* @return If finalized.
*/
@Deprecated
public boolean isFinalized(@NotNull final ItemStack itemStack) {
Validate.notNull(finalizeKey, "Key cannot be null!");