mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-25 09:57:39 +01:00
Remove some debug code
This commit is contained in:
parent
101f86c8cd
commit
3518804cbf
@ -29,7 +29,6 @@ public class ViaVersionInitializer extends ChannelInitializer<SocketChannel> {
|
|||||||
protected void initChannel(SocketChannel socketChannel) throws Exception {
|
protected void initChannel(SocketChannel socketChannel) throws Exception {
|
||||||
UserConnection info = new UserConnection(socketChannel);
|
UserConnection info = new UserConnection(socketChannel);
|
||||||
// init protocol
|
// init protocol
|
||||||
System.out.println("init pipeline");
|
|
||||||
new ProtocolPipeline(info);
|
new ProtocolPipeline(info);
|
||||||
// Add originals
|
// Add originals
|
||||||
this.method.invoke(this.oldInit, socketChannel);
|
this.method.invoke(this.oldInit, socketChannel);
|
||||||
|
@ -113,7 +113,6 @@ public class BaseProtocol extends Protocol {
|
|||||||
if (protocols != null) {
|
if (protocols != null) {
|
||||||
for (Pair<Integer, Protocol> prot : protocols) {
|
for (Pair<Integer, Protocol> prot : protocols) {
|
||||||
pipeline.add(prot.getValue());
|
pipeline.add(prot.getValue());
|
||||||
System.out.println("adding pipe");
|
|
||||||
}
|
}
|
||||||
wrapper.set(Type.VAR_INT, 0, ProtocolRegistry.SERVER_PROTOCOL);
|
wrapper.set(Type.VAR_INT, 0, ProtocolRegistry.SERVER_PROTOCOL);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user