From 5ed9079a1b3b0e221313e863a22a1f334e020e09 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sun, 18 Jan 2015 18:28:49 +0000 Subject: [PATCH] Me and windows are not getting along --- ...isUnbreakable-and-setUnbreakable-to-ItemMeta.patch | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/CraftBukkit-Patches/0153-Added-isUnbreakable-and-setUnbreakable-to-ItemMeta.patch b/CraftBukkit-Patches/0153-Added-isUnbreakable-and-setUnbreakable-to-ItemMeta.patch index 1aa31ca59f..a9668f3df1 100644 --- a/CraftBukkit-Patches/0153-Added-isUnbreakable-and-setUnbreakable-to-ItemMeta.patch +++ b/CraftBukkit-Patches/0153-Added-isUnbreakable-and-setUnbreakable-to-ItemMeta.patch @@ -1,11 +1,11 @@ -From 8fea6436f481fab57bfee6b13082328b6d111a9c Mon Sep 17 00:00:00 2001 +From fe442b774bccc0b933b6caa89b1eda7b5af10480 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 22 Aug 2014 05:35:16 -0400 Subject: [PATCH] Added isUnbreakable and setUnbreakable to ItemMeta diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java -index fef0971..54dcd19 100644 +index fef0971..b1d26dc 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java @@ -207,6 +207,7 @@ class CraftMetaItem implements ItemMeta, Repairable { @@ -116,12 +116,7 @@ index fef0971..54dcd19 100644 DISPLAY.NBT, REPAIR.NBT, ATTRIBUTES.NBT, -@@ -848,11 +882,23 @@ class CraftMetaItem implements ItemMeta, Repairable { - } - return HANDLED_TAGS; - } -- } - +@@ -853,6 +887,19 @@ class CraftMetaItem implements ItemMeta, Repairable { // Spigot start private final Spigot spigot = new Spigot() {