Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remove deprecated code

  • Loading branch information...
commit 88d8a9cee21b172c347bf0f76734607370db7f58 1 parent 845fa00
Paul A. ementalo authored
6 Essentials/src/com/earth2me/essentials/settings/protect/Prevent.java
@@ -8,7 +8,7 @@
8 8 import lombok.Data;
9 9 import lombok.EqualsAndHashCode;
10 10 import org.bukkit.Material;
11   -import org.bukkit.entity.CreatureType;
  11 +import org.bukkit.entity.EntityType;
12 12
13 13
14 14 @Data
@@ -39,7 +39,7 @@
39 39 "permission essentials.protect.entitytarget.bypass disables this"
40 40 })
41 41 private boolean entitytarget = false;
42   - @MapKeyType(CreatureType.class)
  42 + @MapKeyType(EntityType.class)
43 43 @MapValueType(Boolean.class)
44   - private Map<CreatureType, Boolean> spawn = new HashMap<CreatureType, Boolean>();
  44 + private Map<EntityType, Boolean> spawn = new HashMap<EntityType, Boolean>();
45 45 }

0 comments on commit 88d8a9c

Please sign in to comment.
Something went wrong with that request. Please try again.