I'm making a command which is used to see someone's enderchest inventory. (Nukkit 1.1 last build after 1.2), Here is the code:
//class which extends player
public void openInventory(Inventory inventory) {
if(this.getSession().isInvsee()){
this.getSession().setInvsee(true)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.