blob: fdebf9dd32c27ff2c448673163f62ccb00e6526a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package net.minecraft.server;
import net.minecraft.util.io.netty.util.concurrent.GenericFutureListener;
// CraftBukkit - imported class because the methods are package private
class QueuedPacket {
private final Packet a;
private final GenericFutureListener[] b;
public QueuedPacket(Packet packet, GenericFutureListener... agenericfuturelistener) {
this.a = packet;
this.b = agenericfuturelistener;
}
static Packet a(QueuedPacket queuedpacket) {
return queuedpacket.a;
}
static GenericFutureListener[] b(QueuedPacket queuedpacket) {
return queuedpacket.b;
}
}
|