mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 17:37:42 +01:00
formatting
This commit is contained in:
parent
d38c0368fc
commit
fc70d4528e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user