Skip to content

Commit cd3a427

Browse files
committed
2.15 compat (fix ev registration)
1 parent 07d0391 commit cd3a427

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = 1.4.0
1+
version = 1.4.1

src/main/java/com/sovdee/skriptparticles/elements/sections/EffSecDrawShape.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import ch.njol.skript.doc.Since;
88
import ch.njol.skript.lang.Expression;
99
import ch.njol.skript.lang.SkriptParser.ParseResult;
10-
import ch.njol.skript.registrations.EventValues;
1110
import ch.njol.skript.util.Timespan;
1211
import ch.njol.skript.util.Timespan.TimePeriod;
1312
import ch.njol.util.Kleenean;
@@ -58,7 +57,6 @@ public class EffSecDrawShape extends DrawShapeEffectSection {
5857
"[sync:sync[hronously]] draw [the] shape[s] [of] %shapes% [%-directions% %-locations/entities%] [to %-players%]",
5958
"draw [the] shape[s] [of] %shapes% [%-directions% %-locations/entities%] [to %-players%] (duration:for) [duration] %timespan% [with (delay|refresh [rate]) [of] %-timespan%]"
6059
);
61-
EventValues.registerEventValue(EffSecDrawShape.DrawEvent.class, Shape.class, DrawEvent::getShape, EventValues.TIME_NOW);
6260
}
6361

6462
@Nullable

0 commit comments

Comments
 (0)