blob: 43df03a9ff2b33071342770d5902f4e2246a55a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package net.minecraft.server;
public class PacketPlayInCloseWindow extends Packet {
private int a;
public PacketPlayInCloseWindow() {}
// CraftBukkit start - Add constructor
public PacketPlayInCloseWindow(int id) {
this.a = id;
}
// CraftBukkit end
public void a(PacketPlayInListener packetplayinlistener) {
packetplayinlistener.a(this);
}
public void a(PacketDataSerializer packetdataserializer) {
this.a = packetdataserializer.readByte();
}
public void b(PacketDataSerializer packetdataserializer) {
packetdataserializer.writeByte(this.a);
}
public void handle(PacketListener packetlistener) {
this.a((PacketPlayInListener) packetlistener);
}
}
|