Skip to content

Commit 0a72519

Browse files
committed
revert EffLoadServerIcon invalid ERS implementation
1 parent 6d14c77 commit 0a72519

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main/java/ch/njol/skript/effects/EffLoadServerIcon.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
set the icon to a random server icon out of {server-icons::*}
3737
""")
3838
@Since("2.3")
39-
public class EffLoadServerIcon extends AsyncEffect implements EventRestrictedSyntax {
39+
public class EffLoadServerIcon extends AsyncEffect {
4040

4141
static {
4242
Skript.registerEffect(EffLoadServerIcon.class, "load [the] server icon (from|of) [the] [image] [file] %string%");
@@ -56,11 +56,6 @@ public boolean init(Expression<?>[] exprs, int matchedPattern, Kleenean isDelaye
5656
return true;
5757
}
5858

59-
@Override
60-
public Class<? extends Event>[] supportedEvents() {
61-
return CollectionUtils.array(PaperServerListPingEvent.class);
62-
}
63-
6459
@Override
6560
protected void execute(Event e) {
6661
String pathString = path.getSingle(e);

0 commit comments

Comments
 (0)