Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
12 Zeilen
489 B
Diff
12 Zeilen
489 B
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/PathfinderGoalDefendVillage.java 2014-11-28 11:22:56.102823159 +0000
|
|
+++ src/main/java/net/minecraft/server/PathfinderGoalDefendVillage.java 2014-11-28 11:01:54.000000000 +0000
|
|
@@ -32,7 +32,7 @@
|
|
}
|
|
|
|
public void c() {
|
|
- this.a.setGoalTarget(this.b);
|
|
+ this.a.setGoalTarget(this.b, org.bukkit.event.entity.EntityTargetEvent.TargetReason.DEFEND_VILLAGE, true); // CraftBukkit - reason
|
|
super.c();
|
|
}
|
|
}
|