From 64dc70b71780ec2f38845740aab40cdf52bed0f1 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Sun, 18 Mar 2018 20:07:05 -0700 Subject: [PATCH] Properly send title and subtitle --- .../massivecraft/factions/zcore/persist/MemoryFPlayer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java index 984acf8e..7be3dfc5 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java @@ -607,9 +607,9 @@ public abstract class MemoryFPlayer implements FPlayer { // We send null instead of empty because Spigot won't touch the title if it's null, but clears if empty. // We're just trying to be as unintrusive as possible. - player.sendTitle(title.isEmpty() ? null : title, sub.isEmpty() ? null : sub, in, stay, out); + player.sendTitle(title, sub, in, stay, out); - showChat = P.p.getConfig().getBoolean("enter-titles.also-show-chat", false); + showChat = P.p.getConfig().getBoolean("enter-titles.also-show-chat", true); } if (showInfoBoard(toShow)) {