geforkt von Mirrors/Paper
Revert bad change to PathfinderGoalSit causing all cats to sit
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
546827e94d
Commit
7f5ff95fe4
@ -1,11 +1,11 @@
|
||||
--- a/net/minecraft/world/entity/ai/goal/PathfinderGoalSit.java
|
||||
+++ b/net/minecraft/world/entity/ai/goal/PathfinderGoalSit.java
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
@Override
|
||||
public boolean canUse() {
|
||||
- if (!this.mob.isTame()) {
|
||||
+ if (false && !this.mob.isTame()) { // CraftBukkit - Allow sitting for wild animals
|
||||
return false;
|
||||
if (!this.mob.isTame()) {
|
||||
- return false;
|
||||
+ return this.mob.isOrderedToSit() && this.mob.getTarget() == null; // CraftBukkit - Allow sitting for wild animals
|
||||
} else if (this.mob.isInWaterOrBubble()) {
|
||||
return false;
|
||||
} else if (!this.mob.onGround()) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren