Skip to content

Commit ae5e78a

Browse files
authored
[ci skip] Clarify the functionality of AbstractVillager#resetOffers (#13260)
1 parent 9934c17 commit ae5e78a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

paper-api/src/main/java/org/bukkit/entity/AbstractVillager.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ public interface AbstractVillager extends Breedable, NPC, InventoryHolder, Merch
2424

2525
// Paper start
2626
/**
27-
* Reset this villager's trade offers
27+
* Reset this villager's trade offers.
28+
* <br>
29+
* For {@link org.bukkit.entity.Villager Villagers}, only two trades are
30+
* created, rather than the number of trades expected for the villager's
31+
* level. You should use {@link org.bukkit.entity.Villager#addTrades(int)}
32+
* to add the remaining trades.
2833
*/
2934
public void resetOffers();
3035
// Paper end

0 commit comments

Comments
 (0)