summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-06-09 12:20:59 +1000
committermd_5 <git@md-5.net>2016-06-09 12:20:59 +1000
commit6dc24a62f4662f288cff1397db80eca5a2520bd8 (patch)
tree0ff41b3327449ca580465d8d8b9a223f4e9c684e /src/main
parent6f0f13d56504477dc09adddcae92500cceb91b4f (diff)
downloadbukkit-6dc24a62f4662f288cff1397db80eca5a2520bd8.tar
bukkit-6dc24a62f4662f288cff1397db80eca5a2520bd8.tar.gz
bukkit-6dc24a62f4662f288cff1397db80eca5a2520bd8.tar.lz
bukkit-6dc24a62f4662f288cff1397db80eca5a2520bd8.tar.xz
bukkit-6dc24a62f4662f288cff1397db80eca5a2520bd8.zip
Clarify what the Villager.Profession enum can actually do.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/entity/Villager.java4
-rw-r--r--src/main/java/org/bukkit/entity/Zombie.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/entity/Villager.java b/src/main/java/org/bukkit/entity/Villager.java
index 92a80096..dfabb460 100644
--- a/src/main/java/org/bukkit/entity/Villager.java
+++ b/src/main/java/org/bukkit/entity/Villager.java
@@ -115,7 +115,7 @@ public interface Villager extends Ageable, NPC, InventoryHolder {
*/
public enum Profession {
/**
- * Villager without a profession.
+ * Normal. <b>Reserved for Zombies.</b>
*/
NORMAL,
/**
@@ -139,7 +139,7 @@ public interface Villager extends Ageable, NPC, InventoryHolder {
*/
BUTCHER,
/**
- * Really a zombie.
+ * Husk. <b>Reserved for Zombies</b>
*/
HUSK;
}
diff --git a/src/main/java/org/bukkit/entity/Zombie.java b/src/main/java/org/bukkit/entity/Zombie.java
index 3bd53e19..a897d434 100644
--- a/src/main/java/org/bukkit/entity/Zombie.java
+++ b/src/main/java/org/bukkit/entity/Zombie.java
@@ -30,7 +30,7 @@ public interface Zombie extends Monster {
* Sets whether the zombie is a villager
*
* @param flag Whether the zombie is a villager
- * @deprecated Defaults to a basic villager
+ * @deprecated Defaults to a {@link Villager.Profession#NORMAL}
*/
@Deprecated
public void setVillager(boolean flag);