Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
12 Zeilen
468 B
Diff
12 Zeilen
468 B
Diff
--- 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) {
|