mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-22 06:12:56 +02:00
remove deprecated code
This commit is contained in:
@@ -8,7 +8,7 @@ import java.util.Set;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.CreatureType;
|
import org.bukkit.entity.EntityType;
|
||||||
|
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@@ -39,7 +39,7 @@ public class Prevent implements StorageObject
|
|||||||
"permission essentials.protect.entitytarget.bypass disables this"
|
"permission essentials.protect.entitytarget.bypass disables this"
|
||||||
})
|
})
|
||||||
private boolean entitytarget = false;
|
private boolean entitytarget = false;
|
||||||
@MapKeyType(CreatureType.class)
|
@MapKeyType(EntityType.class)
|
||||||
@MapValueType(Boolean.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