Minor display change
This commit is contained in:
@@ -71,10 +71,6 @@ public class Display {
|
||||
*/
|
||||
public ItemStack display(@NotNull final ItemStack itemStack,
|
||||
@Nullable final Player player) {
|
||||
if (!itemStack.hasItemMeta()) {
|
||||
return itemStack; // return early if there's no customization of the item
|
||||
}
|
||||
|
||||
Map<String, Object[]> pluginVarArgs = new HashMap<>();
|
||||
|
||||
for (DisplayPriority priority : DisplayPriority.values()) {
|
||||
|
||||
@@ -17,7 +17,7 @@ public interface SlotModifier {
|
||||
* @param menu The menu.
|
||||
* @param previous The previous ItemStack.
|
||||
*/
|
||||
void provide(@NotNull Player player,
|
||||
@NotNull Menu menu,
|
||||
@NotNull ItemStack previous);
|
||||
void modify(@NotNull Player player,
|
||||
@NotNull Menu menu,
|
||||
@NotNull ItemStack previous);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user