Hi, I'm having trouble with the scripted door in the Custom NPCs mod. I can't figure out how to get the player's held item. I saw on a 1.8 Custom NPCs tutorial video that I had to type player.getHeldItem() but that isn't working. I'm using 1.8.9 and all the resources I've found do not help at all. I would love some help on this.
Also this comes up when I do type player.getHeldItem()
And this is the script I'm using