mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-21 14:03:54 +02:00
remove deprecated code
This commit is contained in:
@@ -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>();
|
||||
}
|
Reference in New Issue
Block a user