mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-10-31 15:49:32 +01:00
Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
commit
e09c3b0159
@ -54,8 +54,10 @@ public class BukkitEncodeHandler extends MessageToByteEncoder implements ViaHand
|
||||
throw (Error) e.getCause();
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
bytebuf.writeBytes((ByteBuf) o);
|
||||
}
|
||||
|
||||
transform(bytebuf);
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ public class InformativeException extends Exception {
|
||||
@Override
|
||||
public String getMessage() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("Please post this error to https://github.com/ViaVersion/ViaVersion/issues\n{");
|
||||
builder.append("Please post this error to https://github.com/ViaVersion/ViaVersion/issues and follow the issue template\n{");
|
||||
int i = 0;
|
||||
for (Map.Entry<String, Object> entry : info.entrySet()) {
|
||||
builder.append(i == 0 ? "" : ", ").append(entry.getKey()).append(": ").append(entry.getValue().toString());
|
||||
|
@ -35,8 +35,9 @@ public class SpongeEncodeHandler extends MessageToByteEncoder<Object> implements
|
||||
throw (Error) e.getCause();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
bytebuf.writeBytes((ByteBuf) o);
|
||||
}
|
||||
|
||||
transform(bytebuf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user