diff --git a/patches/server/0031-Make-Iron-Golems-Swim.patch b/patches/server/0031-Make-Iron-Golems-Swim.patch index 507c588e9..668b715ef 100644 --- a/patches/server/0031-Make-Iron-Golems-Swim.patch +++ b/patches/server/0031-Make-Iron-Golems-Swim.patch @@ -1,30 +1,22 @@ -From 1948126cc8b635dccfa7e02fddc8deb493e6272e Mon Sep 17 00:00:00 2001 +From 6a9d02c679800715ed3284f5d2f9e447981a8de7 Mon Sep 17 00:00:00 2001 From: William Blake Galbreath Date: Sat, 15 Jun 2019 03:12:15 -0500 Subject: [PATCH] Make Iron Golems Swim --- - src/main/java/net/minecraft/server/EntityIronGolem.java | 3 +++ + src/main/java/net/minecraft/server/EntityIronGolem.java | 1 + src/main/java/net/pl3x/purpur/PurpurConfig.java | 5 +++++ - 2 files changed, 8 insertions(+) + 2 files changed, 6 insertions(+) diff --git a/src/main/java/net/minecraft/server/EntityIronGolem.java b/src/main/java/net/minecraft/server/EntityIronGolem.java -index 41ad48c96..1290b3941 100644 +index 41ad48c96..632d16caf 100644 --- a/src/main/java/net/minecraft/server/EntityIronGolem.java +++ b/src/main/java/net/minecraft/server/EntityIronGolem.java -@@ -1,5 +1,7 @@ - package net.minecraft.server; - -+import net.pl3x.purpur.PurpurConfig; -+ - public class EntityIronGolem extends EntityGolem { - - protected static final DataWatcherObject b = DataWatcher.a(EntityIronGolem.class, DataWatcherRegistry.a); -@@ -14,6 +16,7 @@ public class EntityIronGolem extends EntityGolem { +@@ -14,6 +14,7 @@ public class EntityIronGolem extends EntityGolem { @Override protected void initPathfinder() { -+ if (PurpurConfig.ironGolemSwims) this.goalSelector.a(0, new PathfinderGoalFloat(this)); // Purpur ++ if (net.pl3x.purpur.PurpurConfig.ironGolemSwims) this.goalSelector.a(0, new PathfinderGoalFloat(this)); // Purpur this.goalSelector.a(1, new PathfinderGoalMeleeAttack(this, 1.0D, true)); this.goalSelector.a(2, new PathfinderGoalMoveTowardsTarget(this, 0.9D, 32.0F)); this.goalSelector.a(2, new PathfinderGoalStrollVillage(this, 0.6D));