DutchJelly / CraftEnhance

A Minecraft Plugin that allows server owners to create custom recipes in-game
Apache License 2.0
13 stars 10 forks source link

Recipe viewer item placement bug #37

Closed Silik0n closed 2 years ago

Silik0n commented 3 years ago

An item gets stuck at the bottom row of the recipe viewer.

In order to preform this bug, you must 1: create a recipe on the last slot of a page 2: go into recipe viewer and edit the last item on the page 3: remove the product of the recipe and save 4: on opening the recipe viewer again, there should be a bugged recipe at the bottom right of the menu

This doesn't crash or break anything, its more visual so I don't think a files check should be needed

VERSION 1.16.4 PAPER

what

DutchJelly commented 2 years ago

Thanks for reporting this bug. I think it could be caused by an error in the guitemplates.yml. The indexing is faulty.

RecipesViewer:
  name: "recipes viewer"
  fill-space: "0-45" # error: this should be "0-44"
  button-mapping:
    48: PrvPage
...

Can you confirm that this fixed the issue for you?