mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-03 06:37:47 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
afd2b88f39
@ -20,10 +20,4 @@ public class DisableStat extends BooleanStat {
|
||||
public DisableStat(String id, Material material, String name, String[] types, String... lore) {
|
||||
super("DISABLE_" + id, material, name, lore, types);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void whenApplied(@NotNull ItemStackBuilder item, @NotNull StatData data) {
|
||||
if (((BooleanData) data).isEnabled())
|
||||
item.addItemTag(new ItemTag("MMOITEMS_" + getId(), true));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user