Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Commit

Permalink
if you dont work i will beat your ass
Browse files Browse the repository at this point in the history
  • Loading branch information
HausemasterIssue authored Oct 1, 2021
1 parent 7d6df0c commit ede789e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/main/java/com/gamesense/api/event/events/PacketEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,39 @@

public class PacketEvent extends GameSenseEvent {

private final Packet packet;
public static Packet<?> packet;

public PacketEvent(Packet packet) {
public PacketEvent(Packet<?> packet) {
super();
this.packet = packet;
PacketEvent.packet = packet;
}

public Packet getPacket() {
return this.packet;
public static Packet<?> getPacket() {
return packet;
}

public static class Receive extends PacketEvent {

public Receive(Packet packet) {
public Receive(Packet<?> packet) {
super(packet);
}
}

public static class Send extends PacketEvent {
public Send(Packet packet) {
public Send(Packet<?> packet) {
super(packet);
}
}

public static class PostReceive extends PacketEvent {
public PostReceive(Packet packet) {
public PostReceive(Packet<?> packet) {
super(packet);
}
}

public static class PostSend extends PacketEvent {
public PostSend(Packet packet) {
public PostSend(Packet<?> packet) {
super(packet);
}
}
}
}

0 comments on commit ede789e

Please sign in to comment.