*Actually* fix Checkstyle issues

This commit is contained in:
Andrew Steinborn
2021-01-26 20:01:25 -05:00
parent b982c5b6ed
commit 4219bf7b09

View File

@@ -12,11 +12,13 @@ public interface MinecraftPacket {
boolean handle(MinecraftSessionHandler handler);
default int expectedMaxLength(ByteBuf buf, ProtocolUtils.Direction direction,ProtocolVersion version) {
default int expectedMaxLength(ByteBuf buf, ProtocolUtils.Direction direction,
ProtocolVersion version) {
return -1;
}
default int expectedMinLength(ByteBuf buf, ProtocolUtils.Direction direction, ProtocolVersion version) {
default int expectedMinLength(ByteBuf buf, ProtocolUtils.Direction direction,
ProtocolVersion version) {
return 0;
}
}