From c5e9a169fa564f3b8119b6666f8df59d5a9b45c3 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 10 May 2016 21:47:39 +1000 Subject: Minecraft 1.9.4 --- nms-patches/BlockJukeBox.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nms-patches/BlockJukeBox.patch') diff --git a/nms-patches/BlockJukeBox.patch b/nms-patches/BlockJukeBox.patch index 080ba7ef..b279f101 100644 --- a/nms-patches/BlockJukeBox.patch +++ b/nms-patches/BlockJukeBox.patch @@ -1,9 +1,9 @@ --- a/net/minecraft/server/BlockJukeBox.java +++ b/net/minecraft/server/BlockJukeBox.java -@@ -136,6 +136,11 @@ +@@ -140,6 +140,11 @@ } - public void setRecord(ItemStack itemstack) { + public void setRecord(@Nullable ItemStack itemstack) { + // CraftBukkit start - There can only be one + if (itemstack != null) { + itemstack.count = 1; -- cgit v1.2.3