Permalink
Browse files

Still display subtitles when titles are null

  • Loading branch information...
PseudoKnight committed Oct 12, 2017
1 parent ed9c98c commit b3329db79c0ee5f0ec6e2310cac6df86eb76757b
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java
@@ -342,6 +342,10 @@ public void sendResourcePack(String url) {
@Override
public void sendTitle(String title, String subtitle, int fadein, int stay, int fadeout) {
if(title == null) {
// If the title is null the subtitle won't be displayed. This is unintuitive.
title = "";
}
try {
p.sendTitle(title, subtitle, fadein, stay, fadeout);
} catch(NoSuchMethodError ex1){

0 comments on commit b3329db

Please sign in to comment.