aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2017-04-20 08:22:08 -0500
committerZach Brown <[email protected]>2017-04-20 08:22:40 -0500
commitd5cf14188a5580e86e52fa6d909e35f2269f8818 (patch)
tree3c25ab5802e042b465cf3d82ba3b760b2e268e24 /Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch
parent63beca49fef9c31a08effee7b23977b1157a2408 (diff)
downloadPaper-d5cf14188a5580e86e52fa6d909e35f2269f8818.tar.gz
Paper-d5cf14188a5580e86e52fa6d909e35f2269f8818.zip
Update upstream B/CB
Diffstat (limited to 'Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch')
-rw-r--r--Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch b/Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch
index f6361ee1bd..2a10ade6f2 100644
--- a/Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch
+++ b/Spigot-Server-Patches/0156-Fix-AIOOBE-in-inventory-handling.patch
@@ -1,14 +1,14 @@
-From 47ce11bab2409db675956daff0232adab29d0080 Mon Sep 17 00:00:00 2001
+From e20323c602961501ee58642a9caa3b4813a70899 Mon Sep 17 00:00:00 2001
From: Brokkonaut <[email protected]>
Date: Sun, 4 Sep 2016 16:35:43 -0500
Subject: [PATCH] Fix AIOOBE in inventory handling
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
-index e01787021..a99ec1f10 100644
+index 4b79031f0..060434f32 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
-@@ -1808,7 +1808,7 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
+@@ -1809,7 +1809,7 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
case CLONE:
if (packetplayinwindowclick.c() == 2) {
click = ClickType.MIDDLE;
@@ -18,5 +18,5 @@ index e01787021..a99ec1f10 100644
} else {
Slot slot = this.player.activeContainer.getSlot(packetplayinwindowclick.b());
--
-2.12.0.windows.1
+2.12.2.windows.2