From 1cb9aaf19a01940a5b8297465499c54ae18773e4 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 17 Nov 2016 12:53:08 +1100 Subject: [PATCH] Fix some Javadoc warnings By: md_5 --- paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java | 2 +- paper-api/src/main/java/org/bukkit/entity/EntityType.java | 2 +- paper-api/src/main/java/org/bukkit/entity/Horse.java | 2 +- paper-api/src/main/java/org/bukkit/entity/Zombie.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java b/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java index 319d4550c8..0e61571150 100644 --- a/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java +++ b/paper-api/src/main/java/org/bukkit/entity/AbstractHorse.java @@ -14,7 +14,7 @@ public interface AbstractHorse extends Animals, Vehicle, InventoryHolder, Tameab * Whether a horse is a regular horse, donkey, mule, or other kind of horse * is determined using the variant. * - * @return a {@link Variant} representing the horse's variant + * @return a {@link Horse.Variant} representing the horse's variant * @deprecated different variants are different classes */ @Deprecated diff --git a/paper-api/src/main/java/org/bukkit/entity/EntityType.java b/paper-api/src/main/java/org/bukkit/entity/EntityType.java index c79a003534..579645fd1a 100644 --- a/paper-api/src/main/java/org/bukkit/entity/EntityType.java +++ b/paper-api/src/main/java/org/bukkit/entity/EntityType.java @@ -42,7 +42,7 @@ public enum EntityType { */ WITHER_SKELETON("wither_skeleton", WitherSkeleton.class, 5), /** - * @See Stray + * @see Stray */ STRAY("stray", Stray.class, 6), /** diff --git a/paper-api/src/main/java/org/bukkit/entity/Horse.java b/paper-api/src/main/java/org/bukkit/entity/Horse.java index a280ab2c22..cfce8fa578 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Horse.java +++ b/paper-api/src/main/java/org/bukkit/entity/Horse.java @@ -144,7 +144,7 @@ public interface Horse extends AbstractHorse { public void setStyle(Style style); /** - * @return + * @return carrying chest status * @deprecated see {@link ChestedHorse} */ @Deprecated diff --git a/paper-api/src/main/java/org/bukkit/entity/Zombie.java b/paper-api/src/main/java/org/bukkit/entity/Zombie.java index 4deaaff85a..cf53ea22f1 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Zombie.java +++ b/paper-api/src/main/java/org/bukkit/entity/Zombie.java @@ -43,7 +43,7 @@ public interface Zombie extends Monster { public void setVillagerProfession(Villager.Profession profession); /** - * @return + * @return profession * @see ZombieVillager#getVillagerProfession() */ @Deprecated