i forgor 💀

This commit is contained in:
ayunami2000 2022-04-10 13:45:52 -04:00
parent 5988eba06b
commit 391677596a

View File

@ -165,7 +165,7 @@ public class PlexUtils extends PlexBase
aprilFools = plugin.config.getBoolean("april_fools"); aprilFools = plugin.config.getBoolean("april_fools");
} }
LocalDateTime date = LocalDateTime.now(); LocalDateTime date = LocalDateTime.now();
if (true/*aprilFools && date.getMonth() == Month.APRIL && date.getDayOfMonth() == 1*/) if (aprilFools && date.getMonth() == Month.APRIL && date.getDayOfMonth() == 1)
{ {
Component component = MiniMessage.miniMessage().deserialize(input); // removes existing tags Component component = MiniMessage.miniMessage().deserialize(input); // removes existing tags
return MiniMessage.miniMessage().deserialize("<rainbow>" + PlainTextComponentSerializer.plainText().serialize(component)); return MiniMessage.miniMessage().deserialize("<rainbow>" + PlainTextComponentSerializer.plainText().serialize(component));