summaryrefslogtreecommitdiffstats
path: root/nms-patches/PathfinderGoalSit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/PathfinderGoalSit.patch')
-rw-r--r--nms-patches/PathfinderGoalSit.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PathfinderGoalSit.patch b/nms-patches/PathfinderGoalSit.patch
index e6ee998e..80597cfe 100644
--- a/nms-patches/PathfinderGoalSit.patch
+++ b/nms-patches/PathfinderGoalSit.patch
@@ -6,6 +6,6 @@
if (!this.entity.isTamed()) {
- return false;
+ return this.willSit && this.entity.getGoalTarget() == null; // CraftBukkit - Allow sitting for wild animals
- } else if (this.entity.V()) {
+ } else if (this.entity.isInWater()) {
return false;
} else if (!this.entity.onGround) {