From 087f5404658a1543834f16a89e3436f8399297f6 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Sun, 5 Jun 2022 10:36:43 +0100 Subject: Reformat code and OC-38 --- .../java/cc/polyfrost/oneconfig/events/event/ReceivePacketEvent.java | 1 + src/main/java/cc/polyfrost/oneconfig/events/event/SendPacketEvent.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src/main/java/cc/polyfrost/oneconfig/events') diff --git a/src/main/java/cc/polyfrost/oneconfig/events/event/ReceivePacketEvent.java b/src/main/java/cc/polyfrost/oneconfig/events/event/ReceivePacketEvent.java index 274f7a4..17bc16d 100644 --- a/src/main/java/cc/polyfrost/oneconfig/events/event/ReceivePacketEvent.java +++ b/src/main/java/cc/polyfrost/oneconfig/events/event/ReceivePacketEvent.java @@ -4,6 +4,7 @@ import net.minecraft.network.Packet; public class ReceivePacketEvent extends CancellableEvent { public final Packet packet; + public ReceivePacketEvent(Packet packet) { this.packet = packet; } diff --git a/src/main/java/cc/polyfrost/oneconfig/events/event/SendPacketEvent.java b/src/main/java/cc/polyfrost/oneconfig/events/event/SendPacketEvent.java index f149d59..3cee784 100644 --- a/src/main/java/cc/polyfrost/oneconfig/events/event/SendPacketEvent.java +++ b/src/main/java/cc/polyfrost/oneconfig/events/event/SendPacketEvent.java @@ -4,6 +4,7 @@ import net.minecraft.network.Packet; public class SendPacketEvent extends CancellableEvent { public final Packet packet; + public SendPacketEvent(Packet packet) { this.packet = packet; } -- cgit