Fix biome patter apply

This commit is contained in:
Jesse Boyd 2017-03-12 03:34:46 +11:00
parent 503cb7f108
commit b53b9af4bd
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -1108,7 +1108,7 @@ public class EditSession extends AbstractWorld implements HasFaweQueue, Lighting
public boolean setBlock(int x, int y, int z, Pattern pattern) {
this.changes++;
try {
return this.extent.setBlock(x, y, z, pattern.next(x, y, z));
return pattern.apply(extent, MutableBlockVector.get(x, y, z));
} catch (WorldEditException e) {
throw new RuntimeException("Unexpected exception", e);
}