mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-09 08:06:54 +02:00
"When IDE's attack"
This commit is contained in:
@@ -23,20 +23,17 @@ public class Alert implements StorageObject
|
|||||||
@Getter(AccessLevel.NONE)
|
@Getter(AccessLevel.NONE)
|
||||||
@Setter(AccessLevel.NONE)
|
@Setter(AccessLevel.NONE)
|
||||||
private Set<Material> alertOnPlacement = new HashSet<Material>();
|
private Set<Material> alertOnPlacement = new HashSet<Material>();
|
||||||
;
|
|
||||||
@Comment("For which block types would you like to be alerted when used?")
|
@Comment("For which block types would you like to be alerted when used?")
|
||||||
@ListType(Material.class)
|
@ListType(Material.class)
|
||||||
@Getter(AccessLevel.NONE)
|
@Getter(AccessLevel.NONE)
|
||||||
@Setter(AccessLevel.NONE)
|
@Setter(AccessLevel.NONE)
|
||||||
private Set<Material> alertOnUse = new HashSet<Material>();
|
private Set<Material> alertOnUse = new HashSet<Material>();
|
||||||
;
|
|
||||||
@Comment("For which block types would you like to be alerted when broken?")
|
@Comment("For which block types would you like to be alerted when broken?")
|
||||||
@ListType(Material.class)
|
@ListType(Material.class)
|
||||||
@Getter(AccessLevel.NONE)
|
@Getter(AccessLevel.NONE)
|
||||||
@Setter(AccessLevel.NONE)
|
@Setter(AccessLevel.NONE)
|
||||||
private Set<Material> alertOnBreak = new HashSet<Material>();
|
private Set<Material> alertOnBreak = new HashSet<Material>();
|
||||||
|
|
||||||
;
|
|
||||||
public Alert()
|
public Alert()
|
||||||
{
|
{
|
||||||
if (alertOnPlacement.isEmpty())
|
if (alertOnPlacement.isEmpty())
|
||||||
|
Reference in New Issue
Block a user