2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/PacketPlayInCloseWindow.java
|
|
|
|
+++ b/net/minecraft/server/PacketPlayInCloseWindow.java
|
2015-02-26 23:41:06 +01:00
|
|
|
@@ -8,6 +8,12 @@
|
2014-11-25 22:32:16 +01:00
|
|
|
|
|
|
|
public PacketPlayInCloseWindow() {}
|
|
|
|
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ public PacketPlayInCloseWindow(int id) {
|
|
|
|
+ this.id = id;
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
+
|
|
|
|
public void a(PacketListenerPlayIn packetlistenerplayin) {
|
|
|
|
packetlistenerplayin.a(this);
|
|
|
|
}
|
2015-02-26 23:41:06 +01:00
|
|
|
@@ -19,8 +25,4 @@
|
|
|
|
public void b(PacketDataSerializer packetdataserializer) throws IOException {
|
2014-11-25 22:32:16 +01:00
|
|
|
packetdataserializer.writeByte(this.id);
|
|
|
|
}
|
|
|
|
-
|
|
|
|
- public void a(PacketListener packetlistener) {
|
|
|
|
- this.a((PacketListenerPlayIn) packetlistener);
|
|
|
|
- }
|
|
|
|
}
|