mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Add missing spout WorldEditPlugin edit session factory call
This commit is contained in:
parent
04c00034cf
commit
286e682902
@ -209,8 +209,8 @@ public class WorldEditPlugin extends CommonPlugin {
|
|||||||
LocalSession session = controller.getSession(wePlayer);
|
LocalSession session = controller.getSession(wePlayer);
|
||||||
BlockBag blockBag = session.getBlockBag(wePlayer);
|
BlockBag blockBag = session.getBlockBag(wePlayer);
|
||||||
|
|
||||||
EditSession editSession =
|
EditSession editSession = WorldEdit.getInstance().getEditSessionFactory()
|
||||||
new EditSession(wePlayer.getWorld(), session.getBlockChangeLimit(), blockBag);
|
.getEditSession(wePlayer.getWorld(), session.getBlockChangeLimit(), blockBag);
|
||||||
editSession.enableQueue();
|
editSession.enableQueue();
|
||||||
|
|
||||||
return editSession;
|
return editSession;
|
||||||
|
Loading…
Reference in New Issue
Block a user