diff --git a/src/main/java/ch/njol/skript/expressions/ExprTimeState.java b/src/main/java/ch/njol/skript/expressions/ExprTimeState.java
index 3512c001062..06eed32440e 100644
--- a/src/main/java/ch/njol/skript/expressions/ExprTimeState.java
+++ b/src/main/java/ch/njol/skript/expressions/ExprTimeState.java
@@ -1,23 +1,6 @@
-/**
- * This file is part of Skript.
- *
- * Skript is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Skript is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Skript. If not, see .
- *
- * Copyright Peter Güttinger, SkriptLang team and contributors
- */
package ch.njol.skript.expressions;
+import ch.njol.skript.registrations.EventValues;
import org.bukkit.event.Event;
import org.jetbrains.annotations.Nullable;
@@ -30,56 +13,57 @@
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.ExpressionType;
import ch.njol.skript.lang.SkriptParser.ParseResult;
-import ch.njol.skript.log.ErrorQuality;
import ch.njol.util.Kleenean;
-/**
- * @author Peter Güttinger
- */
@Name("Former/Future State")
-@Description({"Represents the value of an expression before an event happened or the value it will have directly after the event, e.g. the old or new level respectively in a level change event.",
- "Note: The past, future and present states of an expression are sometimes called 'time states' of an expression.",
- "Note 2: If you don't specify whether to use the past or future state of an expression that has different values, its default value will be used which is usually the value after the event."})
-@Examples({"on teleport:",
- " former world was \"world_nether\" # or 'world was'",
- " world will be \"world\" # or 'world after the event is'",
- "on tool change:",
- " past tool is an axe",
- " the tool after the event will be air",
- "on weather change:",
- " set {weather::%world%::old} to past weather",
- " set {weather::%world%::current} to the new weather"})
+@Description({
+ "Represents the value of an expression before an event happened or the value it will have directly after the event, e.g. the old or new level respectively in a level change event.",
+ "Note: The past, future and present states of an expression are sometimes called 'time states' of an expression.",
+ "Note 2: If you don't specify whether to use the past or future state of an expression that has different values, its default value will be used which is usually the value after the event."
+})
+@Examples({
+ "on teleport:",
+ "\tformer world was \"world_nether\" # or 'world was'",
+ "\tworld will be \"world\" # or 'world after the event is'",
+ "on tool change:",
+ "\tpast tool is an axe",
+ "\tthe tool after the event will be air",
+ "on weather change:",
+ "\tset {weather::%world%::old} to past weather",
+ "\tset {weather::%world%::current} to the new weather"
+})
@Since("1.1")
public class ExprTimeState extends WrapperExpression