diff options
Diffstat (limited to 'nms-patches/EntityPig.patch')
-rw-r--r-- | nms-patches/EntityPig.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/EntityPig.patch b/nms-patches/EntityPig.patch index eb84f4f2..6d97b021 100644 --- a/nms-patches/EntityPig.patch +++ b/nms-patches/EntityPig.patch @@ -1,6 +1,6 @@ --- a/net/minecraft/server/EntityPig.java +++ b/net/minecraft/server/EntityPig.java -@@ -5,6 +5,8 @@ +@@ -4,6 +4,8 @@ import java.util.Set; import javax.annotation.Nullable; @@ -8,8 +8,8 @@ + public class EntityPig extends EntityAnimal { - private static final DataWatcherObject<Boolean> bw = DataWatcher.a(EntityPig.class, DataWatcherRegistry.h); -@@ -125,13 +127,14 @@ + private static final DataWatcherObject<Boolean> bx = DataWatcher.a(EntityPig.class, DataWatcherRegistry.h); +@@ -124,13 +126,14 @@ } public void die(DamageSource damagesource) { @@ -25,7 +25,7 @@ } @Nullable -@@ -156,6 +159,12 @@ +@@ -155,6 +158,12 @@ if (!this.world.isClientSide && !this.dead) { EntityPigZombie entitypigzombie = new EntityPigZombie(this.world); @@ -38,7 +38,7 @@ entitypigzombie.setSlot(EnumItemSlot.MAINHAND, new ItemStack(Items.GOLDEN_SWORD)); entitypigzombie.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, this.pitch); entitypigzombie.setAI(this.hasAI()); -@@ -164,7 +173,8 @@ +@@ -163,7 +172,8 @@ entitypigzombie.setCustomNameVisible(this.getCustomNameVisible()); } |