Fixed ChatComponent
This commit is contained in:
@@ -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!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user