📜  worldedit 创建一个新的编辑会话 api - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:23.542000             🧑  作者: Mango

代码示例1
try (EditSession editSession = WorldEdit.getInstance().getEditSessionFactory().getEditSession(world, -1)) {
    // use the edit session here ...
} // it is automatically closed/flushed when the code exits the block