Make HandshakeConsumer public again.

Fixes #8241
This commit is contained in:
gigaherz committed 2021-12-02 15:15:20 +01:00
1 parent b2036e9d23
commit d414e31f08
1 file changed
+2 -1
@@ -130,7 +130,8 @@ public class HandshakeHandler
}
}
interface HandshakeConsumer<MSG extends IntSupplier>
@FunctionalInterface
public interface HandshakeConsumer<MSG extends IntSupplier>
{
void accept(HandshakeHandler handler, MSG msg, Supplier<NetworkEvent.Context> context);
}