[SPIGOT-5037] Player.openMerchant does not show merchant experience Created: 06/Jun/19 Updated: 07/Jun/19 Resolved: 07/Jun/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Nico Hofmann | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | gui, trade, villager |
Attachments: |
![]() |
Version: | git-Spigot-baafee9-0fc6922 |
Guidelines Read: | Yes |
Description |
When I simply right click a villager to open it's GUI the experience bar and the level (e.g. "Novice") is shown. Using Player#openMerchant() instead should show the same result, but neither the experience nor the level is shown. I've uploaded a screenshot which clearly shows the bug. (Screenshot is not shown in english language, sorry for that)
|
Comments |
Comment by Nico Hofmann [ 06/Jun/19 ] |
Yeah, but first parameter can be instance of "Villager" or "Merchant", same result. |
Comment by Black Hole [ 06/Jun/19 ] |
A merchant doesn't have to be a villager, have a look at the UI of a wandering trader. |