Use ComponentLogger + update dependencies

This commit is contained in:
2022-06-29 18:11:03 -05:00
parent 6763e12d81
commit 4a14f94158
3 changed files with 20 additions and 22 deletions

View File

@ -124,7 +124,7 @@ public class PlexUtils implements PlexBase
{
aprilFools = plugin.config.getBoolean("april_fools");
}
ZonedDateTime date = ZonedDateTime.now(ZoneId.of(TimeUtils.TIMEZONE));
ZonedDateTime date = ZonedDateTime.now(ZoneId.systemDefault());
if (aprilFools && date.getMonth() == Month.APRIL && date.getDayOfMonth() == 1)
{
Component component = MINI_MESSAGE.deserialize(input); // removes existing tags