[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.
Please read the front page

Generated at Sat Dec 13 13:38:23 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.