summaryrefslogtreecommitdiffstats
path: root/nms-patches/PacketPlayInCloseWindow.patch
blob: c17757e85932b2132eb48333df3fd99c4d8fea43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/net/minecraft/server/PacketPlayInCloseWindow.java
+++ b/net/minecraft/server/PacketPlayInCloseWindow.java
@@ -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);
     }