Add missing spout WorldEditPlugin edit session factory call

Dieser Commit ist enthalten in:
Ammar Askar 2012-10-31 21:46:30 +05:00
Ursprung 04c00034cf
Commit 286e682902

Datei anzeigen

@ -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;