mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-18 00:25:39 +01:00
12 lines
468 B
Diff
12 lines
468 B
Diff
--- a/net/minecraft/server/EntityLlamaTrader.java
|
|
+++ b/net/minecraft/server/EntityLlamaTrader.java
|
|
@@ -128,7 +128,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) {
|