3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00

Merge pull request #264 from HugoDaBosss/apiv2

Removed some debug code
Dieser Commit ist enthalten in:
Myles 2016-03-22 19:17:28 +00:00
Commit 6beacf9804
2 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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);

Datei anzeigen

@ -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 {