Skip to content

Commit

Permalink
Fix empty lines styling
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Jan 6, 2024
1 parent 2d81fab commit 0f53eec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

package dev.architectury.hooks.level;
import dev.architectury.injectables.annotations.ExpectPlatform;

import net.minecraft.world.level.Explosion;
import net.minecraft.world.phys.Vec3;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@ public static void collectPackets(PacketSink sink, NetworkManager.Side side, Res

static IPlayPayloadHandler<BufCustomPacketPayload> createPacketHandler(NetworkManager.Side direction, Map<ResourceLocation, PacketTransformer> map) {
return (arg, context) -> {

NetworkManager.Side side = side(context.flow());
if (side != direction) return;
ResourceLocation type = arg.buf().readResourceLocation();
PacketTransformer transformer = map.get(type);


if (transformer != null) {
NetworkManager.PacketContext packetContext = new NetworkManager.PacketContext() {
@Override
Expand Down

0 comments on commit 0f53eec

Please sign in to comment.