Fix javadoc (#4276)

This commit is contained in:
MiniDigger 2020-09-02 14:20:10 +02:00 committed by GitHub
parent c247857fd4
commit 03689cf9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ Subject: [PATCH] Add playPickupItemAnimation to LivingEntity
diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java
index d225a59f149cdc770ee3243f9604291c28f5a2ed..f3813210e63d9859c0461833a502b43361a2e134 100644
index d225a59f149cdc770ee3243f9604291c28f5a2ed..5adf7501009c8570395c42b09662bbfff7d5fc14 100644
--- a/src/main/java/org/bukkit/entity/LivingEntity.java
+++ b/src/main/java/org/bukkit/entity/LivingEntity.java
@@ -791,5 +791,28 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
@ -15,9 +15,9 @@ index d225a59f149cdc770ee3243f9604291c28f5a2ed..f3813210e63d9859c0461833a502b433
+
+ /**
+ * Plays pickup item animation towards this entity.
+ * <p/>
+ * <p>
+ * <b>This will remove the item on the client.</b>
+ * <p/>
+ * <p>
+ * Quantity is inferred to be that of the {@link Item}.
+ *
+ * @param item item to pickup
@ -28,7 +28,7 @@ index d225a59f149cdc770ee3243f9604291c28f5a2ed..f3813210e63d9859c0461833a502b433
+
+ /**
+ * Plays pickup item animation towards this entity.
+ * <p/>
+ * <p>
+ * <b>This will remove the item on the client.</b>
+ *
+ * @param item item to pickup