diff --git a/patches/server/0562-Missing-Entity-API.patch b/patches/server/0562-Missing-Entity-API.patch index 1c7bf215a5..610fed7f07 100644 --- a/patches/server/0562-Missing-Entity-API.patch +++ b/patches/server/0562-Missing-Entity-API.patch @@ -1367,7 +1367,7 @@ index 794e4fe0a3fbd967f665b2707865c15491370c76..c284eb96a1e330078076cbe61f0f6e2f public void increaseAnger(Entity entity, int increase) { Preconditions.checkArgument(entity != null, "Entity cannot be null"); diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftWither.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftWither.java -index 1113533d281ed159bb735040fb1f913482debf3a..955948f6ec096304671a98f7241930fa91565711 100644 +index 1113533d281ed159bb735040fb1f913482debf3a..7881c6253c1d652c0c0d54a9a8accdf0a1ff0f3e 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftWither.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftWither.java @@ -67,4 +67,36 @@ public class CraftWither extends CraftMonster implements Wither, com.destroystok @@ -1393,7 +1393,7 @@ index 1113533d281ed159bb735040fb1f913482debf3a..955948f6ec096304671a98f7241930fa + + @Override + public boolean canTravelThroughPortals() { -+ return getHandle().canChangeDimensions(null, null); // Only used by the enderpearl... right now ++ return getHandle().canUsePortal(false); + } + + @Override