summaryrefslogtreecommitdiffstats
path: root/nms-patches/PathfinderGoalSit.patch
blob: 88ad0ce93c32998910cdee100f0bbb1e2a98eef5 (plain)
1
2
3
4
5
6
7
8
9
@@ -12,7 +12,7 @@
 
     public boolean a() {
         if (!this.entity.isTamed()) {
-            return false;
+            return this.willSit && this.entity.getGoalTarget() == null; // CraftBukkit - Allow sitting for wild animals
         } else if (this.entity.V()) {
             return false;
         } else if (!this.entity.onGround) {