3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Paper/nms-patches/EntityLlamaTrader.patch

12 Zeilen
468 B
Diff

2019-05-14 02:00:00 +02:00
--- a/net/minecraft/server/EntityLlamaTrader.java
+++ b/net/minecraft/server/EntityLlamaTrader.java
2020-08-11 23:00:00 +02:00
@@ -127,7 +127,7 @@
2019-04-27 05:57:46 +02:00
@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) {