mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 02:20:01 +03:00
13 lines
460 B
Diff
13 lines
460 B
Diff
--- ../src-base/minecraft/net/minecraft/entity/ai/EntityAISit.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/ai/EntityAISit.java
|
|
@@ -18,7 +18,8 @@
|
|
{
|
|
if (!this.tameable.isTamed())
|
|
{
|
|
- return false;
|
|
+ // return false;
|
|
+ return this.isSitting && this.tameable.getAttackTarget() == null; // CraftBukkit - Allow sitting for wild animals
|
|
}
|
|
else if (this.tameable.isInWater())
|
|
{
|