@@ -1,11 +1,11 @@
|
||||
--- a/net/minecraft/server/PathfinderGoalSit.java
|
||||
+++ b/net/minecraft/server/PathfinderGoalSit.java
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
@Override
|
||||
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.aq()) {
|
||||
} else if (this.entity.au()) {
|
||||
return false;
|
||||
} else if (!this.entity.onGround) {
|
||||
|
||||
Reference in New Issue
Block a user