formatting

This commit is contained in:
TheMode 2021-06-09 06:52:00 +02:00
parent d38c0368fc
commit fc70d4528e

View File

@ -140,7 +140,7 @@ public class EventNode<T extends Event> {
/**
* Creates an event node which accepts any event of the given type which has a handler who
* has the given tag.
*
* <p>
* The {@link EventFilter}'s resulting event type must be {@link TagReadable}.
*
* @param name The name of the event node
@ -383,7 +383,7 @@ public class EventNode<T extends Event> {
* @param name The node name to filter for
* @param eventType The node type to filter for
*/
public <E extends T> void removeChildren(@NotNull String name, @NotNull Class<E> eventType) {
public void removeChildren(@NotNull String name, @NotNull Class<? extends T> eventType) {
if (children.isEmpty()) {
return;
}