diff options
Diffstat (limited to 'patches/server/0541-Add-HiddenPotionEffect-API.patch')
-rw-r--r-- | patches/server/0541-Add-HiddenPotionEffect-API.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0541-Add-HiddenPotionEffect-API.patch b/patches/server/0541-Add-HiddenPotionEffect-API.patch index 724bbc9ff5..2d0b0d5b03 100644 --- a/patches/server/0541-Add-HiddenPotionEffect-API.patch +++ b/patches/server/0541-Add-HiddenPotionEffect-API.patch @@ -7,10 +7,10 @@ Subject: [PATCH] Add HiddenPotionEffect API public net.minecraft.world.effect.MobEffectInstance hiddenEffect diff --git a/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionUtil.java b/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionUtil.java -index 068a9b2d7b6895f14077d9647a8c9fed3e3d3ade..14c58cf8d255c51473fd3d0092faeaf5a3c1ae0c 100644 +index 01af4db5d0f17ea2943e5c464d4122a358503bc1..cb11f0624e4e65aa06bfaaec90729ee536cd53a0 100644 --- a/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionUtil.java +++ b/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionUtil.java -@@ -10,6 +10,7 @@ public class CraftPotionUtil { +@@ -78,6 +78,7 @@ public class CraftPotionUtil { public static MobEffectInstance fromBukkit(PotionEffect effect) { Holder<MobEffect> type = CraftPotionEffectType.bukkitToMinecraftHolder(effect.getType()); @@ -18,7 +18,7 @@ index 068a9b2d7b6895f14077d9647a8c9fed3e3d3ade..14c58cf8d255c51473fd3d0092faeaf5 return new MobEffectInstance(type, effect.getDuration(), effect.getAmplifier(), effect.isAmbient(), effect.hasParticles(), effect.hasIcon()); // Paper } -@@ -19,7 +20,7 @@ public class CraftPotionUtil { +@@ -87,7 +88,7 @@ public class CraftPotionUtil { int duration = effect.getDuration(); boolean ambient = effect.isAmbient(); boolean particles = effect.isVisible(); |