Skip to content

Commit 01f256b

Browse files
committed
change ItemStack mentions to ItemStackLike
1 parent d2a570e commit 01f256b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/spongepowered/api/data/Keys.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ public final class Keys {
21832183
public static final Key<Value<Boolean>> IS_WET = Keys.key(ResourceKey.sponge("is_wet"), Boolean.class);
21842184

21852185
/**
2186-
* The {@link ItemAttribute}s an {@link ItemStack} can apply.
2186+
* The {@link ItemAttribute}s an {@link ItemStackLike} can apply.
21872187
*/
21882188
public static final Key<ListValue<ItemAttribute>> ITEM_ATTRIBUTES = Keys.listKey(ResourceKey.sponge("item_attributes"), ItemAttribute.class);
21892189

src/main/java/org/spongepowered/api/entity/attribute/ItemAttribute.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626

2727
import org.spongepowered.api.Sponge;
2828
import org.spongepowered.api.entity.attribute.type.AttributeType;
29-
import org.spongepowered.api.item.inventory.ItemStack;
29+
import org.spongepowered.api.item.inventory.ItemStackLike;
3030
import org.spongepowered.api.item.inventory.equipment.EquipmentCondition;
3131

3232
import java.util.Objects;
3333
import java.util.function.Supplier;
3434

3535
/**
3636
* Represents an {@link AttributeModifier} for the specific {@link AttributeType}
37-
* an {@link ItemStack} can apply when the {@link EquipmentCondition} is met.
37+
* an {@link ItemStackLike} can apply when the {@link EquipmentCondition} is met.
3838
*/
3939
public interface ItemAttribute {
4040

0 commit comments

Comments
 (0)