Paper icon indicating copy to clipboard operation
Paper copied to clipboard

PlayerStonecutterRecipeSelectEvent not firing on API-created inventories

Open webcrawls opened this issue 3 years ago • 3 comments

Expected behavior

When creating a Stonecutter inventory like so:

Inventory inventory = Bukkit.createInventory(null, InventoryType.STONECUTTER);

PlayerStonecutterRecipeSelectEvent is never fired for API-created inventories.

Observed/Actual behavior

The event is not fired.

Steps/models to reproduce

  1. Create a listener that listens on PlayerStonecutterRecipeSelectEvent.
  2. Create a Stonecutter inventory using Bukkit#createInventory
  3. Recipes selected within this inventory will not fire the event.

Plugin list

Just a basic test plugin.

Paper version

This server is running Paper version git-Paper-777 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) You are running the latest version Previous version: git-Paper-775 (MC: 1.16.5)

Agreements

  • [X] I am running the latest version of Paper available from https://papermc.io/downloads.
  • [X] I have searched for and ensured there isn't already an open issue regarding this.
  • [X] My version of Minecraft is supported by Paper.

Other

No response

webcrawls avatar Jun 14 '21 06:06 webcrawls