Goat ram API

This commit is contained in:
Seggan
2021-08-05 13:10:27 -04:00
parent 26d0751f8e
commit 4e20ba8bf7
2 changed files with 23 additions and 0 deletions

View File

@@ -48,4 +48,11 @@ public class CraftGoat extends CraftAnimals implements Goat {
public void setScreaming(boolean screaming) {
this.getHandle().setScreamingGoat(screaming);
}
// Paper start - Goat ram API
@Override
public void ram(@org.jetbrains.annotations.NotNull org.bukkit.entity.LivingEntity entity) {
this.getHandle().ram(((CraftLivingEntity) entity).getHandle());
}
// Paper end
}