Auxilor / EcoItems

Custom items plugin for the latest spigot version
GNU General Public License v3.0
50 stars 27 forks source link

Recipe Book doesn't show required quantity #72

Open OmegaWulf opened 2 years ago

OmegaWulf commented 2 years ago

Describe the bug If you have the materials in your inventory, the vanilla recipe book will NOT show you how many items you need in each slot. If you do NOT have the materials in your inventory, then hovering over the recipe icon will properly say "This recipe requires X of this item"

This applies to all EcoItems and EcoArmor.

To Reproduce Steps to reproduce the behavior:

  1. Have 0 obsidian in inventory
  2. Open vanilla recipe book
  3. Click on item that requires 5 obsidian in a single slot. (Any number above 1 works)
  4. Hover over the obsidian in the crafting table. It will properly show "This recipe requires 5 of this item"
  5. Add 5 obsidian to your inventory. (Must have enough to craft the item)
  6. Repeat step 2 & 3. Now when you hover over the obsidian, it shows just a single obsidian.

The recipe won't work. You still need 5 obsidian in the slot to craft but the tooltip doesn't say so. Players have no way of knowing you need 5.

Screenshots I have 0-5 obsidian in my inventory. Screen Shot 2022-07-07 at 12 51 54 PM

I have 6. Enough to fulfill the requirements. Screen Shot 2022-07-07 at 12 52 43 PM

Server Information (please complete the following information):