Create block pattern (Fixes #810)

This commit is contained in:
Max Lee 2017-12-08 16:27:16 +01:00 committed by GitHub
parent 12580b52ae
commit 7b8b65c6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1729,7 +1729,7 @@ public class EditSession extends AbstractWorld implements HasFaweQueue, Lighting
// return changes = region.getArea();
// }
// TODO fast replace
return this.replaceBlocks(region, filter, (replacement));
return this.replaceBlocks(region, filter, new BlockPattern(replacement));
}