mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Fixed typo and grammar
This commit is contained in:
parent
8b38f6fbc0
commit
fb1fb84965
@ -52,7 +52,7 @@ public void build(EditSession editSession, BlockVector3 position, Pattern patter
|
|||||||
for (double z = position.getZ() - size; z <= position.getZ() + size; z++) {
|
for (double z = position.getZ() - size; z <= position.getZ() + size; z++) {
|
||||||
/*
|
/*
|
||||||
* Algorithm:
|
* Algorithm:
|
||||||
* 1. Find lowest air block in the selection -> $lowestAir = position
|
* 1. Find the lowest air block in the selection -> $lowestAir = position
|
||||||
* 2. Move the first non-air block above it down to $lowestAir
|
* 2. Move the first non-air block above it down to $lowestAir
|
||||||
* 3. Add 1 to $lowestAir's y-coord.
|
* 3. Add 1 to $lowestAir's y-coord.
|
||||||
* 4. If more blocks above current position, repeat from 2
|
* 4. If more blocks above current position, repeat from 2
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
import static com.google.common.base.Preconditions.checkNotNull;
|
import static com.google.common.base.Preconditions.checkNotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes a delegete operation, but returns to another operation upon
|
* Executes a delegate operation, but returns to another operation upon
|
||||||
* completing the delegate.
|
* completing the delegate.
|
||||||
*/
|
*/
|
||||||
public class DelegateOperation implements Operation {
|
public class DelegateOperation implements Operation {
|
||||||
|
@ -84,7 +84,7 @@ class CompilingVisitor extends ExpressionBaseVisitor<MethodHandle> {
|
|||||||
* General idea is that we don't need to pass around variables, they're all in ExecutionData.
|
* General idea is that we don't need to pass around variables, they're all in ExecutionData.
|
||||||
* We do need to pass that around, so most MethodHandles will be of the type
|
* We do need to pass that around, so most MethodHandles will be of the type
|
||||||
* (ExecutionData)Double, with a few as (ExecutionData,Double)Double where it needs an existing
|
* (ExecutionData)Double, with a few as (ExecutionData,Double)Double where it needs an existing
|
||||||
* value passed in. EVERY handle returned from an overriden method must be of the first type.
|
* value passed in. EVERY handle returned from an overridden method must be of the first type.
|
||||||
*/
|
*/
|
||||||
private final Functions functions;
|
private final Functions functions;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user