Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 committed Dec 12, 2023
1 parent f5a67aa commit 482bf8d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ public void onServerPacket(FMLNetworkEvent.@NotNull ServerCustomPacketEvent even
return new FMLProxyPacket(buf, GTValues.MODID);
}

private @NotNull IPacket toGTPacket(@NotNull FMLProxyPacket proxyPacket)
throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException {
private @NotNull IPacket toGTPacket(@NotNull FMLProxyPacket proxyPacket) throws NoSuchMethodException,
InvocationTargetException,
InstantiationException,
IllegalAccessException {
PacketBuffer payload = (PacketBuffer) proxyPacket.payload();
var clazz = packetHandler.getPacketClass(payload.readVarInt());
IPacket packet = clazz.getConstructor().newInstance();
Expand Down

0 comments on commit 482bf8d

Please sign in to comment.