Merge remote-tracking branch 'origin/master'

This commit is contained in:
Indyuce 2021-11-01 11:58:33 +01:00
commit afd2b88f39

View File

@ -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));
}
}