mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
24 lines
799 B
Diff
24 lines
799 B
Diff
--- /home/matt/mc-dev-private//net/minecraft/server/PacketPlayInCloseWindow.java 2015-02-26 22:40:22.911608136 +0000
|
|
+++ src/main/java/net/minecraft/server/PacketPlayInCloseWindow.java 2015-02-26 22:40:22.911608136 +0000
|
|
@@ -8,6 +8,12 @@
|
|
|
|
public PacketPlayInCloseWindow() {}
|
|
|
|
+ // CraftBukkit start
|
|
+ public PacketPlayInCloseWindow(int id) {
|
|
+ this.id = id;
|
|
+ }
|
|
+ // CraftBukkit end
|
|
+
|
|
public void a(PacketListenerPlayIn packetlistenerplayin) {
|
|
packetlistenerplayin.a(this);
|
|
}
|
|
@@ -19,8 +25,4 @@
|
|
public void b(PacketDataSerializer packetdataserializer) throws IOException {
|
|
packetdataserializer.writeByte(this.id);
|
|
}
|
|
-
|
|
- public void a(PacketListener packetlistener) {
|
|
- this.a((PacketListenerPlayIn) packetlistener);
|
|
- }
|
|
}
|