mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Adapt adventure changes
This commit is contained in:
parent
55211907f2
commit
77eb75fcc6
@ -818,10 +818,11 @@ public abstract class PlotPlayer<P> implements CommandCaller, OfflinePlotPlayer,
|
||||
final Component titleComponent = MiniMessage.get().parse(title.getComponent(this), replacements);
|
||||
final Component subtitleComponent =
|
||||
MiniMessage.get().parse(subtitle.getComponent(this), replacements);
|
||||
getAudience().showTitle(Title
|
||||
.of(titleComponent, subtitleComponent, Duration.of(fadeIn * 50, ChronoUnit.MILLIS),
|
||||
final Title.Times times = Title.Times.of(Duration.of(fadeIn * 50, ChronoUnit.MILLIS),
|
||||
Duration.of(stay * 50, ChronoUnit.MILLIS),
|
||||
Duration.of(fadeOut * 50, ChronoUnit.MILLIS)));
|
||||
Duration.of(fadeOut * 50, ChronoUnit.MILLIS));
|
||||
getAudience().showTitle(Title
|
||||
.of(titleComponent, subtitleComponent, times));
|
||||
}
|
||||
|
||||
@Override public void sendMessage(@Nonnull final Caption caption,
|
||||
|
Loading…
Reference in New Issue
Block a user