Removed deprecated DisplayModule method

This commit is contained in:
Auxilor
2021-04-03 14:01:47 +01:00
parent 7515efbde9
commit f96716966d
2 changed files with 2 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
package com.willfp.eco.util.display;
import com.willfp.eco.util.fast.FastItemStack;
import lombok.experimental.UtilityClass;
import org.apache.commons.lang.Validate;
import org.bukkit.NamespacedKey;
@@ -16,7 +17,6 @@ import java.util.List;
import java.util.Map;
@UtilityClass
@SuppressWarnings("deprecation")
public class Display {
/**
* The prefix for lore lines.

View File

@@ -36,26 +36,13 @@ public abstract class DisplayModule extends PluginDependent {
// Technically optional.
}
/**
* Display an item.
* <p>
* This method exists for parity with older plugins that don't include the varargs.
*
* @param itemStack The item.
* @deprecated Use {@link this#display(ItemStack, Object...)} instead.
*/
@Deprecated
protected void display(@NotNull final ItemStack itemStack) {
// Technically optional.
}
/**
* Revert an item.
*
* @param itemStack The item.
*/
protected void revert(@NotNull final ItemStack itemStack) {
// Technically optoinal.
// Technically optional.
}
/**