mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +02:00
Update to 1.6.2, adds new potion effect types
This commit is contained in:
@@ -76,7 +76,7 @@ import org.yaml.snakeyaml.error.YAMLException;
|
|||||||
|
|
||||||
public class Essentials extends JavaPlugin implements IEssentials
|
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 static final Logger LOGGER = Logger.getLogger("Minecraft");
|
||||||
private transient ISettings settings;
|
private transient ISettings settings;
|
||||||
private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this);
|
private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this);
|
||||||
|
@@ -100,6 +100,14 @@ public class Potions
|
|||||||
|
|
||||||
POTIONS.put("wither", PotionEffectType.WITHER);
|
POTIONS.put("wither", PotionEffectType.WITHER);
|
||||||
ALIASPOTIONS.put("decay", 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)
|
public static PotionEffectType getByName(String name)
|
||||||
|
Reference in New Issue
Block a user