Skip to main content

ValidationSanitizeLock

Callable


  • Sanitizes an item's lock properties, if present. This ensures that any lock on the item is valid, and removes or corrects invalid properties.


    Parameters

    • C: Character

      The character on whom the item is equipped

    • item: Item

      The item whose lock properties should be sanitized

    Returns boolean

    • TRUE if the item's properties were modified as part of the sanitization process (indicating the lock was not valid), FALSE otherwise