Add a space and hover text to end of game message
This commit is contained in:
parent
d70f7a8ec0
commit
37657058ae
@ -5,6 +5,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.function.Function;
|
||||
|
||||
import mineplex.core.common.jsonchat.HoverEvent;
|
||||
import mineplex.core.common.jsonchat.JsonMessage;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
@ -134,7 +136,10 @@ public class GameSummaryModule extends Module
|
||||
|
||||
_components.forEach(component -> component.sendMessage(player));
|
||||
|
||||
player.sendMessage(C.mBody + "Hover over for details.");
|
||||
player.sendMessage("");
|
||||
new JsonMessage(C.cGreen + "Hover over for details.")
|
||||
.hover(HoverEvent.SHOW_TEXT, "Don't hover over me, silly!")
|
||||
.sendToPlayer(player);
|
||||
player.sendMessage(ArcadeFormat.Line);
|
||||
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 2, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user