summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityOcelot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityOcelot.patch')
-rw-r--r--nms-patches/EntityOcelot.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/EntityOcelot.patch b/nms-patches/EntityOcelot.patch
index 1caea988..9f18245b 100644
--- a/nms-patches/EntityOcelot.patch
+++ b/nms-patches/EntityOcelot.patch
@@ -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);