Search results

  1. Y

    How can i edit world asynchronous?

    "Currently" is about the current state of Nukkit?
  2. Y

    How can i edit world asynchronous?

    Currently, i'm doing it using setBlock() in asynctask. It works, but sometimes I getting ConcurrentModificationException @Override public void onRun(){ this.level.setBlock(new Vector(x, y, z), Block.get(Block.STONE)); }
  3. Y

    Why is fake inventory closes automatically after 3-4 seconds after open?

    and how to send contents of fake inventory?
  4. Y

    Why is fake inventory closes automatically after 3-4 seconds after open?

    Lol how?? I was trying using a containeropenpacket but it wasn't working
  5. Y

    Why is fake inventory closes automatically after 3-4 seconds after open?

    OMG, fixed by copying GC function from current nukkitx master branch. Btw, IDEA says that this ArrayList isn't used and a grammar mistake in a comment.
  6. Y

    Why is fake inventory closes automatically after 3-4 seconds after open?

    I'm figured out how its happen: its caused by garbage collection. So, is it possible to not gc a chest tile while player is viewing it?
  7. Y

    Why is fake inventory closes automatically after 3-4 seconds after open?

    That's what I'm doing, actually. This code works perfect on a pmmp
  8. Y

    Why is fake inventory closes automatically after 3-4 seconds after open?

    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)...
Top