Add missing spout WorldEditPlugin edit session factory call

This commit is contained in:
Ammar Askar 2012-10-31 21:46:30 +05:00
parent 04c00034cf
commit 286e682902

View File

@ -209,8 +209,8 @@ public class WorldEditPlugin extends CommonPlugin {
LocalSession session = controller.getSession(wePlayer);
BlockBag blockBag = session.getBlockBag(wePlayer);
EditSession editSession =
new EditSession(wePlayer.getWorld(), session.getBlockChangeLimit(), blockBag);
EditSession editSession = WorldEdit.getInstance().getEditSessionFactory()
.getEditSession(wePlayer.getWorld(), session.getBlockChangeLimit(), blockBag);
editSession.enableQueue();
return editSession;