Geek 3 Share Posted July 18, 2020 c.getInventory().getItemInSlot(0).useOn I currently use this but is there a way to filter with item name or item ID? Link to comment Share on other sites More sharing options...
AsBakedAsCake 200 Share Posted July 18, 2020 (edited) getInventory().get("itemName").useOn("npcName"); Edited July 18, 2020 by AsBakedAsCake Geek 1 Link to comment Share on other sites More sharing options...
Geek 3 Author Share Posted July 18, 2020 8 minutes ago, AsBakedAsCake said: getInventory().get("itemName").useOn("npcName"); Much love thank you AsBakedAsCake 1 Link to comment Share on other sites More sharing options...
AsBakedAsCake 200 Share Posted July 18, 2020 22 minutes ago, Raeve said: Much love thank you Glad to help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now