3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 12:30:06 +01:00
Paper/nms-patches/PathfinderGoalDefendVillage.patch
2014-11-28 11:23:19 +00:00

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();
}
}