Added "fast mode corrections"

This commit is contained in:
Matthew Miller
2018-10-15 20:50:09 +10:00
committed by IronApollo
parent 346eee8953
commit e88b8c961d
10 changed files with 101 additions and 7 deletions

View File

@ -377,6 +377,8 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
this(WorldEdit.getInstance().getEventBus(), world, maxBlocks, blockBag, new EditSessionEvent(world, null, maxBlocks, null));
}
private Mask oldMask;
/**
* Construct the object with a maximum number of blocks and a block bag.
*
@ -3589,14 +3591,17 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
@Override
public void dropItem(Vector3 position, BaseItemStack item) {
// TODO Auto-generated method stub
world.dropItem(position, item);
}
@Override
public boolean playEffect(Vector3 position, int type, int data) {
// TODO Auto-generated method stub
return false;
return world.playEffect(position, type, data);
}
@Override
public boolean notifyAndLightBlock(BlockVector3 position, BlockState previousType) throws WorldEditException {
return world.notifyAndLightBlock(position, previousType);
}
}