diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-06-05 10:36:43 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-06-05 10:36:43 +0100 |
commit | 087f5404658a1543834f16a89e3436f8399297f6 (patch) | |
tree | 4b6d18abbc2e6f3083e664786dbbef98bb142a33 /src/main/java/cc/polyfrost/oneconfig/events | |
parent | 3e472ea407d128de61820fc167e08b8fe24186c9 (diff) | |
download | OneConfig-087f5404658a1543834f16a89e3436f8399297f6.tar.gz OneConfig-087f5404658a1543834f16a89e3436f8399297f6.tar.bz2 OneConfig-087f5404658a1543834f16a89e3436f8399297f6.zip |
Reformat code and OC-38
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/events/event/ReceivePacketEvent.java | 1 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/events/event/SendPacketEvent.java | 1 |
2 files changed, 2 insertions, 0 deletions
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; } |