*
This commit is contained in:
parent
81850daa0d
commit
dc686c45d0
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user