Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
KennyTV 2021-02-06 15:38:06 +01:00
commit e09c3b0159
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 6 additions and 3 deletions

View File

@ -54,8 +54,10 @@ public class BukkitEncodeHandler extends MessageToByteEncoder implements ViaHand
throw (Error) e.getCause();
}
}
} else {
bytebuf.writeBytes((ByteBuf) o);
}
transform(bytebuf);
}

View File

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

View File

@ -35,8 +35,9 @@ public class SpongeEncodeHandler extends MessageToByteEncoder<Object> implements
throw (Error) e.getCause();
}
}
} else {
bytebuf.writeBytes((ByteBuf) o);
}
transform(bytebuf);
}