From ee95aa8462eb7b3fa66ce9103643203b40bba14b Mon Sep 17 00:00:00 2001 From: Jeremy Wood Date: Tue, 6 Jul 2021 21:13:42 -0400 Subject: [PATCH] Rename ContentDisplay#send to #show. --- .../onarandombox/MultiverseCore/display/ContentDisplay.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/display/ContentDisplay.java b/src/main/java/com/onarandombox/MultiverseCore/display/ContentDisplay.java index 894f1d90..95a78263 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/display/ContentDisplay.java +++ b/src/main/java/com/onarandombox/MultiverseCore/display/ContentDisplay.java @@ -5,7 +5,6 @@ import org.bukkit.command.CommandSender; import org.jetbrains.annotations.NotNull; import java.util.Collection; -import java.util.List; import java.util.Map; import java.util.Objects; import java.util.WeakHashMap; @@ -68,7 +67,7 @@ public class ContentDisplay { * * @param sender The CommandSender to show the display to. */ - public void send(@NotNull CommandSender sender) { + public void show(@NotNull CommandSender sender) { Collection formattedContent; try { formattedContent = (this.contents == null) ? null : this.displayHandler.format(sender, this); @@ -262,7 +261,7 @@ public class ContentDisplay { * @param sender The CommandSender to show the display to. */ public void show(CommandSender sender) { - this.build().send(sender); + this.build().show(sender); } } }