13
0
geforkt von Mirrors/Paper
Paper/nms-patches/EntityLLamaTrader.patch

12 Zeilen
468 B
Diff

2019-04-27 05:57:46 +02:00
--- a/net/minecraft/server/EntityLLamaTrader.java
+++ b/net/minecraft/server/EntityLLamaTrader.java
@@ -113,7 +113,7 @@
@Override
public void c() {
- this.e.setGoalTarget(this.c);
+ this.e.setGoalTarget(this.c, org.bukkit.event.entity.EntityTargetEvent.TargetReason.TARGET_ATTACKED_OWNER, true); // CraftBukkit
Entity entity = this.b.getLeashHolder();
if (entity instanceof EntityVillagerTrader) {