Finish support for greeting/farewall text on area markers

This commit is contained in:
Mike Primm 2020-05-25 13:55:36 -05:00
parent 14f55bd6a8
commit 5e15187e46
17 changed files with 298 additions and 9 deletions

View file

@ -720,6 +720,15 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
public UUID getUUID() {
return uuid;
}
/**
* Send title and subtitle text (called from server thread)
*/
@Override
public void sendTitleText(String title, String subtitle, int fadeInTicks, int stayTicks, int fadeOutTIcks) {
if (player != null) {
helper.sendTitleText(player, title, subtitle, fadeInTicks, stayTicks, fadeOutTIcks);
}
}
}
/* Handler for generic console command sender */
public class BukkitCommandSender implements DynmapCommandSender {