From 1ac05c8b80c6f06e3e3c89a66a7c6a90c84c9b03 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 7 May 2019 15:35:44 +0200 Subject: [PATCH] SPIGOT-4887: Villager level minimum is 1 By: blablubbabc --- paper-api/src/main/java/org/bukkit/entity/Villager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/Villager.java b/paper-api/src/main/java/org/bukkit/entity/Villager.java index 1e663d8f4e..0b96d1a045 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Villager.java +++ b/paper-api/src/main/java/org/bukkit/entity/Villager.java @@ -43,7 +43,7 @@ public interface Villager extends AbstractVillager { /** * Gets the level of this villager. * - * A villager with a level <= 1 and no experience is liable to lose its + * A villager with a level of 1 and no experience is liable to lose its * profession. * * @return this villager's level @@ -53,11 +53,11 @@ public interface Villager extends AbstractVillager { /** * Sets the level of this villager. * - * A villager with a level <= 1 and no experience is liable to lose its + * A villager with a level of 1 and no experience is liable to lose its * profession. * * @param level the new level - * @throws IllegalArgumentException if level not between [0, 5] + * @throws IllegalArgumentException if level not between [1, 5] */ public void setVillagerLevel(int level);