mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-20 11:22:56 +02:00
Me and windows are not getting along
This commit is contained in:
parent
a7339d5ed5
commit
5ed9079a1b
|
@ -1,11 +1,11 @@
|
|||
From 8fea6436f481fab57bfee6b13082328b6d111a9c Mon Sep 17 00:00:00 2001
|
||||
From fe442b774bccc0b933b6caa89b1eda7b5af10480 Mon Sep 17 00:00:00 2001
|
||||
From: libraryaddict <redwarfare@live.com>
|
||||
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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user