Jump to content

Interact with other item


Recommended Posts

Posted

 

I tried getInventory().getItem(1929).interact("Use");

getInventory().getItem(Clay).interact(); //    and its not interacting :/
 
 
i changed clay to 434 id and its working ;/ well thanks for help smile.png

 

 

When you're interacting with an Item using its name you have to add the String.

Ex: 

getInventory().getItem("Clay").interact();

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...