diff --git a/src/main/java/org/spongepowered/api/item/inventory/property/AbstractInventoryProperty.java b/src/main/java/org/spongepowered/api/item/inventory/property/AbstractInventoryProperty.java index 222b53d9fbd..013f5c8fe65 100644 --- a/src/main/java/org/spongepowered/api/item/inventory/property/AbstractInventoryProperty.java +++ b/src/main/java/org/spongepowered/api/item/inventory/property/AbstractInventoryProperty.java @@ -80,7 +80,7 @@ protected AbstractInventoryProperty(@Nullable V value) { * @param value The property value * @param op The operator for the property */ - protected AbstractInventoryProperty(@Nullable V value, Operator op) { + protected AbstractInventoryProperty(@Nullable V value, @Nullable Operator op) { this(null, value, op); } @@ -94,7 +94,7 @@ protected AbstractInventoryProperty(@Nullable K key, @Nullable V value) { this(key, value, null); } - protected AbstractInventoryProperty(@Nullable K key, @Nullable V value, Operator op) { + protected AbstractInventoryProperty(@Nullable K key, @Nullable V value, @Nullable Operator op) { this.key = key != null ? key : this.getDefaultKey(value); this.value = value; this.operator = op != null ? op : this.getDefaultOperator(this.key, value);