[SPIGOT-4294] getItemInMainHand.getType for Acacia Button is wrong Created: 20/Aug/18 Updated: 20/Aug/18 Resolved: 20/Aug/18 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Pat Freeze | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | 1.13, bug | ||
| Environment: |
Windows 10 |
||
| Version: | 1.13 |
| Guidelines Read: | Yes |
| Description |
|
With Acacia Button in Main Hand when : player.getInventory().getItemInMainHand().getType()... The type == LEGACY_AIR
Hope I'm in the good place to submit this kind of bug.
|
| Comments |
| Comment by Pat Freeze [ 20/Aug/18 ] |
|
So simple! Thank you. It work perfectly. (RTFM) |
| Comment by md_5 [ 20/Aug/18 ] |
|
Your plugin is not specifying api-version. |