[SPIGOT-2111] Player#getInventory()#setItemInOffHand(ItemStack) doesn't work. Created: 01/Apr/16 Updated: 11/Dec/17 Resolved: 01/Apr/16 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Gael Rial Costas | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | 1.9, Craftbukkit, bug |
Description |
Hi. Today I was proggraming and I wanted add an ItemStack in a player's off hand, but when I used the method Player#getInventory()#setItemInOffHand(ItemStack), nothing happens. But Player#getInventory()#setItemInOffHand(null) works, because it removes a item in a player's off hand! |
Comments |
Comment by Gael Rial Costas [ 01/Apr/16 ] |
Hi. It's not working for me. What's the problem? |