This commit is contained in:
Jesse Boyd 2017-08-29 22:44:31 +10:00
parent 81850daa0d
commit dc686c45d0
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -62,7 +62,7 @@ public class BukkitPlayer extends FawePlayer<Player> {
public void sendTitle(String title, String sub) { public void sendTitle(String title, String sub) {
try { try {
Method methodSendTitle = Player.class.getDeclaredMethod("sendTitle", String.class, String.class, int.class, int.class); Method methodSendTitle = Player.class.getDeclaredMethod("sendTitle", String.class, String.class, int.class, int.class, int.class);
methodSendTitle.invoke(parent, ChatColor.GOLD + title, ChatColor.GOLD + sub, 0, 70, 20); methodSendTitle.invoke(parent, ChatColor.GOLD + title, ChatColor.GOLD + sub, 0, 70, 20);
return; return;
} catch (Throwable ignore) { } catch (Throwable ignore) {