From 61d942dbfd5de754b2afa2e6f56488e0e56e77a1 Mon Sep 17 00:00:00 2001 From: Asleepp <119438940+Asleeepp@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:09:58 -0300 Subject: [PATCH] weird indent error --- .../skript/classes/data/SkriptClasses.java | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/main/java/ch/njol/skript/classes/data/SkriptClasses.java b/src/main/java/ch/njol/skript/classes/data/SkriptClasses.java index b64b2bf2300..cee39ed6974 100644 --- a/src/main/java/ch/njol/skript/classes/data/SkriptClasses.java +++ b/src/main/java/ch/njol/skript/classes/data/SkriptClasses.java @@ -293,28 +293,28 @@ public String toVariableNameString(final Time o) { "every 10 mc days and 12 hours:", " halt for 12.7 irl minutes, 12 hours and 120.5 seconds") .since("1.0, 2.6.1 (weeks, months, years)") - .parser(new Parser() { - @Override - @Nullable - public Timespan parse(final String s, final ParseContext context) { - try { - return Timespan.parse(s, context); - } catch (IllegalArgumentException e) { - Skript.error("'" + s + "' is not a valid timespan"); - return null; + .parser(new Parser() { + @Override + @Nullable + public Timespan parse(final String s, final ParseContext context) { + try { + return Timespan.parse(s, context); + } catch (IllegalArgumentException e) { + Skript.error("'" + s + "' is not a valid timespan"); + return null; + } } - } - @Override - public String toString(final Timespan t, final int flags) { - return t.toString(flags); - } + @Override + public String toString(final Timespan t, final int flags) { + return t.toString(flags); + } - @Override - public String toVariableNameString(final Timespan o) { - return "timespan:" + o.getMilliSeconds(); - } - }).serializer(new YggdrasilSerializer<>())); + @Override + public String toVariableNameString(final Timespan o) { + return "timespan:" + o.getMilliSeconds(); + } + }).serializer(new YggdrasilSerializer<>())); // TODO remove Classes.registerClass(new ClassInfo<>(Timeperiod.class, "timeperiod")