Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3import java.io.DataInputStream;
4import java.io.DataOutputStream;
5import java.io.IOException;
6
7public class Packet101CloseWindow extends Packet {
8
9 public int a;
10
11 public Packet101CloseWindow() {
12 }
13
14 public Packet101CloseWindow(int i) {
15 this.a = i;
16 }
17
18 public void a(NetHandler nethandler) {
19 nethandler.a(this);
20 }
21
22 public void a(DataInputStream datainputstream) throws IOException {
23 this.a = datainputstream.readByte();
24 }
25
26 public void a(DataOutputStream dataoutputstream) throws IOException {
27 dataoutputstream.writeByte(this.a);
28 }
29
30 public int a() {
31 return 1;
32 }
33}