Update Mob.java (#11757)

This commit is contained in:
Jake 2024-12-19 23:14:21 +01:00 committed by GitHub
parent 25a7793b9c
commit 413751ae2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -191,7 +191,7 @@ public interface Mob extends LivingEntity, Lootable, io.papermc.paper.entity.Lea
* set by {@link #setAggressive(boolean)}. {@link Panda}'s are always
* aggressive if their combined {@link Panda.Gene} is {@link Panda.Gene#AGGRESSIVE}.
*
* @return wether the mob is aggressive or not
* @return whether the mob is aggressive or not
*/
boolean isAggressive();
@ -199,7 +199,7 @@ public interface Mob extends LivingEntity, Lootable, io.papermc.paper.entity.Lea
* Some mobs will raise their arm(s) when aggressive,
* see {@link #isAggressive()} for full list.
*
* @param aggressive wether the mob should be aggressive or not
* @param aggressive whether the mob should be aggressive or not
* @see #isAggressive()
*/
void setAggressive(boolean aggressive);