phanaticd

Untitled

Jul 14th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. EditSession editSession = WorldEdit.getInstance().getEditSessionFactory().getEditSession(BukkitUtil.getLocalWorld(target.getWorld()), -1);
  2. editSession.setFastMode(true);
  3. editSession.setBlock(BukkitUtil.toVector(targetblock), BukkitAdapter.adapt(resultblockstate));
  4. editSession.flushQueue();
Advertisement
Add Comment
Please, Sign In to add comment