Removed deprecated DisplayModule method
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user