This commit is contained in:
Michel Roux 2012-05-20 10:46:28 +02:00
parent 4b87b11c9e
commit 1d6cc9ebac
2 changed files with 4 additions and 4 deletions

View File

@ -130,11 +130,11 @@ public class BloodMoon extends JavaPlugin {
} }
// arrow-rate is handled in BloodMoonEntitySkeleton // arrow-rate is handled in BloodMoonEntitySkeleton
if (BloodMoon.config.getBoolean("features.sword-damage.enabled")){ if (BloodMoon.config.getBoolean("features.sword-damage.enabled")){
this.manager.registerEvents(new SwordDamageListener(this), this); this.manager.registerEvents(new SwordDamageListener(this), this);
} }
if (BloodMoon.config.getBoolean("features.lock-in-world.enabled") && BloodMoon.config.getBoolean("always-on") == false){ if (BloodMoon.config.getBoolean("features.lock-in-world.enabled") && BloodMoon.config.getBoolean("always-on") == false){
this.manager.registerEvents(new LockInWorldListener(), this); this.manager.registerEvents(new LockInWorldListener(), this);
} }

View File

@ -43,7 +43,7 @@ public class BloodMoonConfig {
this.configDefaults.put("features.more-exp.enabled", true); this.configDefaults.put("features.more-exp.enabled", true);
this.configDefaults.put("features.more-exp.multiplier", 2); this.configDefaults.put("features.more-exp.multiplier", 2);
this.configDefaults.put("features.sword-damage.enabled", true); this.configDefaults.put("features.sword-damage.enabled", true);
this.configDefaults.put("features.sword-damage.mobs", Arrays.asList("ZOMBIE", "SKELETON", "SPIDER", "CREEPER", "ENDERMAN")); this.configDefaults.put("features.sword-damage.mobs", Arrays.asList("ZOMBIE", "SKELETON", "SPIDER", "CREEPER", "ENDERMAN"));
this.configDefaults.put("features.sword-damage.chance", 10); this.configDefaults.put("features.sword-damage.chance", 10);
@ -52,7 +52,7 @@ public class BloodMoonConfig {
this.configDefaults.put("features.sword-damage.damage.gold", 10); this.configDefaults.put("features.sword-damage.damage.gold", 10);
this.configDefaults.put("features.sword-damage.damage.stone", 20); this.configDefaults.put("features.sword-damage.damage.stone", 20);
this.configDefaults.put("features.sword-damage.damage.wood", 10); this.configDefaults.put("features.sword-damage.damage.wood", 10);
this.configDefaults.put("features.super-creepers.enabled", true); this.configDefaults.put("features.super-creepers.enabled", true);
this.configDefaults.put("features.super-creepers.power", 4.0D); this.configDefaults.put("features.super-creepers.power", 4.0D);