diff --git a/src/de/jpx3/ips/connect/bukkit/PacketReceiver.java b/src/de/jpx3/ips/connect/bukkit/PacketReceiver.java index 8ed9d0f..0d00648 100644 --- a/src/de/jpx3/ips/connect/bukkit/PacketReceiver.java +++ b/src/de/jpx3/ips/connect/bukkit/PacketReceiver.java @@ -105,8 +105,9 @@ private AbstractPacket constructPacketFrom(ByteArrayDataInput byteArrayDataInput return constructPacketFrom(byteArrayDataInput, packetId); } - private AbstractPacket constructPacketFrom(ByteArrayDataInput byteArrayDataInput, int packetId) - throws IllegalAccessException, InstantiationException { + private AbstractPacket constructPacketFrom(ByteArrayDataInput byteArrayDataInput, + int packetId + ) throws IllegalAccessException, InstantiationException { AbstractPacket packet = PacketRegister .classOf(packetId) .orElseThrow(IllegalStateException::new) @@ -127,7 +128,7 @@ private ByteArrayDataInput newByteArrayDataInputFrom(byte[] byteArray) { private boolean isMarkedAsIntaveChannel(String channelTag) { return channelTag.equalsIgnoreCase(INCOMING_CHANNEL) || - channelTag.equalsIgnoreCase(OUTGOING_CHANNEL); + channelTag.equalsIgnoreCase(OUTGOING_CHANNEL); } private boolean isUpstream(Connection connection) {