diff --git a/src/main/java/com/alttd/shutdowninfo/events/WhitelistKickEvent.java b/src/main/java/com/alttd/shutdowninfo/events/WhitelistKickEvent.java index 860a664..fb4fb06 100644 --- a/src/main/java/com/alttd/shutdowninfo/events/WhitelistKickEvent.java +++ b/src/main/java/com/alttd/shutdowninfo/events/WhitelistKickEvent.java @@ -28,5 +28,6 @@ public class WhitelistKickEvent { return Collections.unmodifiableList(templates); } - public void appendTemplates(Template... templates) {this.templates.addAll(List.of(templates));} + public void appendTemplates(Template template) {this.templates.add(template);} +// public void appendTemplates(Template... templates) {this.templates.addAll(List.of(templates));} }