diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-07 20:39:27 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-07 20:39:27 +0000 |
commit | 0b9f037a1429634e9880985d8adfad2f7f5e9e2d (patch) | |
tree | 959020c484dcc8c9b2ccdf891ca81195e5bc40be | |
parent | 12b1b7c85ac8e3cf1a0fa0f55a8f02286e794712 (diff) | |
download | Essentials-0b9f037a1429634e9880985d8adfad2f7f5e9e2d.tar Essentials-0b9f037a1429634e9880985d8adfad2f7f5e9e2d.tar.gz Essentials-0b9f037a1429634e9880985d8adfad2f7f5e9e2d.tar.lz Essentials-0b9f037a1429634e9880985d8adfad2f7f5e9e2d.tar.xz Essentials-0b9f037a1429634e9880985d8adfad2f7f5e9e2d.zip |
[trunk] Monster don't target players.
new config: protect.prevent.entitytarget
new permission: essentials.protect.entitytarget.bypass
forgot to add it to settings
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1147 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Settings.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 9525eb378..28dc1f8e9 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -309,6 +309,7 @@ public class Settings implements IConf epSettings.put("protect.prevent.creeper-explosion", config.getBoolean("protect.prevent.creeper-explosion", false)); epSettings.put("protect.prevent.creeper-playerdamage", config.getBoolean("protect.prevent.creeper-playerdamage", false)); epSettings.put("protect.prevent.creeper-blockdamage", config.getBoolean("protect.prevent.creeper-blockdamage", false)); + epSettings.put("protect.prevent.entitytarget", config.getBoolean("protect.prevent.entitytarget", false)); for (CreatureType ct : CreatureType.values()) { String name = ct.toString().toLowerCase(); epSettings.put("protect.prevent.spawn."+name, config.getBoolean("protect.prevent.spawn."+name, false)); |