diff --git a/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java b/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java index 8ce39c6d68..b06fddf729 100644 --- a/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java +++ b/src/main/java/org/bukkit/craftbukkit/potion/CraftPotionEffectType.java @@ -2,6 +2,7 @@ package org.bukkit.craftbukkit.potion; import net.minecraft.server.MobEffectList; +import org.bukkit.Color; import org.bukkit.potion.PotionEffectType; public class CraftPotionEffectType extends PotionEffectType { @@ -87,4 +88,9 @@ public class CraftPotionEffectType extends PotionEffectType { public boolean isInstant() { return handle.isInstant(); } + + @Override + public Color getColor() { + return Color.fromRGB(handle.getColor()); + } }