Commits

md_5 authored 0d0b1e5dce4
Revert bad change to PathfinderGoalSit causing all cats to sit
No tags

nms-patches/net/minecraft/world/entity/ai/goal/PathfinderGoalSit.patch

Modified
1 1 --- a/net/minecraft/world/entity/ai/goal/PathfinderGoalSit.java
2 2 +++ b/net/minecraft/world/entity/ai/goal/PathfinderGoalSit.java
3 -@@ -21,7 +21,7 @@
4 -
3 +@@ -22,7 +22,7 @@
5 4 @Override
6 5 public boolean canUse() {
7 -- if (!this.mob.isTame()) {
8 -+ if (false && !this.mob.isTame()) { // CraftBukkit - Allow sitting for wild animals
9 - return false;
6 + if (!this.mob.isTame()) {
7 +- return false;
8 ++ return this.mob.isOrderedToSit() && this.mob.getTarget() == null; // CraftBukkit - Allow sitting for wild animals
10 9 } else if (this.mob.isInWaterOrBubble()) {
11 10 return false;
11 + } else if (!this.mob.onGround()) {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut