1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +02:00

Adding extra mobs to essentials protect, changing some default settings.

This commit is contained in:
KHobbits
2011-11-28 12:55:54 +00:00
parent e925589b21
commit 8203b43637
3 changed files with 6 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ public enum Mob
BLAZE("Blaze", Enemies.ENEMY, CreatureType.BLAZE),
MUSHROOMCOW("MushroomCow", Enemies.FRIENDLY, CreatureType.MUSHROOM_COW),
MAGMACUBE("MagmaCube", Enemies.ENEMY, CreatureType.MAGMA_CUBE),
SNOWMAN("Snowman", Enemies.FRIENDLY, CreatureType.SNOWMAN);
SNOWMAN("Snowman", Enemies.FRIENDLY, "", CreatureType.SNOWMAN);
public static final Logger logger = Logger.getLogger("Minecraft");

View File

@@ -189,13 +189,13 @@ public class Settings implements ISettings
@Override
public double getTeleportCooldown()
{
return config.getDouble("teleport-cooldown", 60);
return config.getDouble("teleport-cooldown", 0);
}
@Override
public double getHealCooldown()
{
return config.getDouble("heal-cooldown", 60);
return config.getDouble("heal-cooldown", 0);
}
@Override
@@ -246,7 +246,7 @@ public class Settings implements ISettings
@Override
public boolean getReclaimSetting()
{
return config.getBoolean("reclaim-onlogout", true);
return config.getBoolean("reclaim-onlogout", false);
}
@Override

View File

@@ -415,6 +415,8 @@ protect:
villager: false
blaze: false
mushroom_cow: false
magma_cube: false
snowman: false
# Maximum height the creeper should explode. -1 allows them to explode everywhere.
# Set prevent.creeper-explosion to true, if you want to disable creeper explosions.