diff options
author | ementalo <ementalodev@gmx.co.uk> | 2012-06-26 13:37:38 +0100 |
---|---|---|
committer | ementalo <ementalodev@gmx.co.uk> | 2012-06-26 13:37:38 +0100 |
commit | 88d8a9cee21b172c347bf0f76734607370db7f58 (patch) | |
tree | 511674fb88eb6af87132b59b42a4f5033ec4f6c9 | |
parent | 845fa008567974e51fb040b961163aa912965b27 (diff) | |
download | Essentials-88d8a9cee21b172c347bf0f76734607370db7f58.tar Essentials-88d8a9cee21b172c347bf0f76734607370db7f58.tar.gz Essentials-88d8a9cee21b172c347bf0f76734607370db7f58.tar.lz Essentials-88d8a9cee21b172c347bf0f76734607370db7f58.tar.xz Essentials-88d8a9cee21b172c347bf0f76734607370db7f58.zip |
remove deprecated code
-rw-r--r-- | Essentials/src/com/earth2me/essentials/settings/protect/Prevent.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/settings/protect/Prevent.java b/Essentials/src/com/earth2me/essentials/settings/protect/Prevent.java index 192e93ac1..0713237dd 100644 --- a/Essentials/src/com/earth2me/essentials/settings/protect/Prevent.java +++ b/Essentials/src/com/earth2me/essentials/settings/protect/Prevent.java @@ -8,7 +8,7 @@ import java.util.Set; import lombok.Data; import lombok.EqualsAndHashCode; import org.bukkit.Material; -import org.bukkit.entity.CreatureType; +import org.bukkit.entity.EntityType; @Data @@ -39,7 +39,7 @@ public class Prevent implements StorageObject "permission essentials.protect.entitytarget.bypass disables this" }) private boolean entitytarget = false; - @MapKeyType(CreatureType.class) + @MapKeyType(EntityType.class) @MapValueType(Boolean.class) - private Map<CreatureType, Boolean> spawn = new HashMap<CreatureType, Boolean>(); + private Map<EntityType, Boolean> spawn = new HashMap<EntityType, Boolean>(); }
\ No newline at end of file |