Skip to content

PlayerUI.Search.AnvilItem configuration is ignored #88

Description

@CyR1en

Affected version

CommandPrompterPaper 3.1.1 and the current development branch (5534104).

Description

All PlayerUI.Search.AnvilItem settings are loaded, but the Player UI search flow never creates an Anvil screen or reads those values.

Steps to reproduce

  1. Give the AnvilItem title, material, custom model data, and text distinctive values.
  2. Open a Player UI prompt and click Search.

Expected behavior

Search uses the configured Anvil input UI.

Actual behavior

The inventory closes and CommandPrompter captures the player's next Chat message; none of the AnvilItem values affect the UI.

Technical cause

PromptConfig loads the fields, while PlayerUIScreen#startSearch() directly registers an AsyncPlayerChatEvent listener. There are no production reads of the AnvilItem configuration.

Suggested direction

Restore the configured Anvil search screen, or remove/deprecate the stale fields and replace them with configuration for the actual Chat search flow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions