mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 22:52:13 -07:00
NOT FINISHED! She compiles, and she... suffers the wrath of chunkgen...
This commit is contained in:
@@ -28,14 +28,19 @@ index 762c43d6..045c26d9 100644
|
||||
+ // Paper end
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/inventory/ItemStack.java b/src/main/java/org/bukkit/inventory/ItemStack.java
|
||||
index 6324044d..6df4b97a 100644
|
||||
index 73f79b22..14b6b6b3 100644
|
||||
--- a/src/main/java/org/bukkit/inventory/ItemStack.java
|
||||
+++ b/src/main/java/org/bukkit/inventory/ItemStack.java
|
||||
@@ -0,0 +0,0 @@ public class ItemStack implements Cloneable, ConfigurationSerializable {
|
||||
result.setDurability(damage);
|
||||
}
|
||||
}
|
||||
|
||||
- return result;
|
||||
+ // Set damage again incase meta overwrote it
|
||||
+ if (args.containsKey("damage")) {
|
||||
+ result.setDurability(damage);
|
||||
+ }
|
||||
+
|
||||
+ return result.ensureServerConversions(); // Paper
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user