Finish support for greeting/farewall text on area markers
This commit is contained in:
parent
8cb0e05eb1
commit
8615efc226
17 changed files with 298 additions and 9 deletions
|
|
@ -201,4 +201,13 @@ public abstract class BukkitVersionHelper {
|
|||
}
|
||||
|
||||
public abstract String getStateStringByCombinedId(int blkid, int meta);
|
||||
}
|
||||
|
||||
// Send title/subtitle to user
|
||||
public void sendTitleText(Player p, String title, String subtitle, int fadeInTicks, int stayTicks, int fadeOutTIcks) {
|
||||
// Do send message for old implementations
|
||||
if (p != null) {
|
||||
if (title != null) p.sendMessage(title);
|
||||
if (subtitle != null) p.sendMessage(subtitle);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue