Revert flush

This commit is contained in:
themode 2022-02-13 14:07:08 +01:00
parent 367c5ec35a
commit 945bf6a914

View File

@ -5,7 +5,6 @@ import net.minestom.server.event.Event;
import net.minestom.server.event.EventFilter;
import net.minestom.server.event.EventListener;
import net.minestom.server.event.EventNode;
import net.minestom.server.utils.PacketUtils;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@ -52,7 +51,6 @@ final class EnvImpl implements Env {
}
void cleanup() {
PacketUtils.flush();
this.listeners.forEach(FlexibleListenerImpl::check);
}