Update to 1.6.2, adds new potion effect types

This commit is contained in:
GunfighterJ 2013-07-08 19:22:38 -05:00
parent a369f9aabb
commit 4e9a42671f
4 changed files with 10 additions and 2 deletions

View File

@ -76,7 +76,7 @@ import org.yaml.snakeyaml.error.YAMLException;
public class Essentials extends JavaPlugin implements IEssentials
{
public static final int BUKKIT_VERSION = 2794;
public static final int BUKKIT_VERSION = 2808;
private static final Logger LOGGER = Logger.getLogger("Minecraft");
private transient ISettings settings;
private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this);

View File

@ -100,6 +100,14 @@ public class Potions
POTIONS.put("wither", PotionEffectType.WITHER);
ALIASPOTIONS.put("decay", PotionEffectType.WITHER);
POTIONS.put("healthboost", PotionEffectType.HEALTH_BOOST);
ALIASPOTIONS.put("boost", PotionEffectType.HEALTH_BOOST);
POTIONS.put("absorption", PotionEffectType.ABSORPTION);
ALIASPOTIONS.put("absorb", PotionEffectType.ABSORPTION);
POTIONS.put("saturation", PotionEffectType.SATURATION);
}
public static PotionEffectType getByName(String name)

Binary file not shown.

Binary file not shown.