NOT FINISHED! 1.13-pre7 - even more patches!
Patches, patches everywhere!
This commit is contained in:
parent
c8d8659ad3
commit
3cb169aa7c
50 changed files with 273 additions and 1171 deletions
|
@ -7,14 +7,13 @@ This will take a Bukkit ItemStack and run it through any conversions a server pr
|
|||
to ensure it meets latest minecraft expectations.
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
|
||||
index 49ebad22e..eb6987338 100644
|
||||
index e305d663a..503dd5827 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
|
||||
@@ -0,0 +0,0 @@ public final class CraftItemFactory implements ItemFactory {
|
||||
public Color getDefaultLeatherColor() {
|
||||
return DEFAULT_LEATHER_COLOR;
|
||||
public Material updateMaterial(ItemMeta meta, Material material) throws IllegalArgumentException {
|
||||
return ((CraftMetaItem) meta).updateMaterial(material);
|
||||
}
|
||||
+
|
||||
+ // Paper start
|
||||
+ @Override
|
||||
+ public ItemStack ensureServerConversions(ItemStack item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue