aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/events/ReceivePacketEvent.java
blob: e658a1e28721a5128720f9598682b4d066fa34e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package rosegoldaddons.events;

import net.minecraft.network.Packet;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;

@Cancelable
public class ReceivePacketEvent extends Event {

    public Packet<?> packet;

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

}