@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntityOcelot.java
|
||||
+++ b/net/minecraft/server/EntityOcelot.java
|
||||
@@ -57,7 +57,7 @@
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
|
||||
protected boolean isTypeNotPersistent() {
|
||||
@@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
protected void initAttributes() {
|
||||
@@ -108,7 +108,8 @@
|
||||
@@ -107,7 +107,8 @@
|
||||
return false;
|
||||
} else {
|
||||
if (this.goalSit != null) {
|
||||
@@ -19,7 +19,7 @@
|
||||
}
|
||||
|
||||
return super.damageEntity(damagesource, f);
|
||||
@@ -133,7 +134,8 @@
|
||||
@@ -132,7 +133,8 @@
|
||||
}
|
||||
|
||||
if (!this.world.isClientSide) {
|
||||
@@ -28,8 +28,8 @@
|
||||
+ if (this.random.nextInt(3) == 0 && !org.bukkit.craftbukkit.event.CraftEventFactory.callEntityTameEvent(this, entityhuman).isCancelled()) {
|
||||
this.c(entityhuman);
|
||||
this.setCatType(1 + this.world.random.nextInt(3));
|
||||
this.p(true);
|
||||
@@ -237,7 +239,7 @@
|
||||
this.s(true);
|
||||
@@ -238,7 +240,7 @@
|
||||
|
||||
entityocelot.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
|
||||
entityocelot.setAgeRaw(-24000);
|
||||
|
||||
Reference in New Issue
Block a user